Remove autobackup.yaml and fix quoting
This commit is contained in:
parent
9408bf709c
commit
1cfda69e5e
|
@ -14,7 +14,6 @@
|
||||||
dest: "{{ item }}"
|
dest: "{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
loop:
|
loop:
|
||||||
- /etc/pvc/autobackup.yaml
|
|
||||||
- /etc/systemd/system/pvc-autobackup-normal.timer
|
- /etc/systemd/system/pvc-autobackup-normal.timer
|
||||||
- /etc/systemd/system/pvc-autobackup-normal.service
|
- /etc/systemd/system/pvc-autobackup-normal.service
|
||||||
- /etc/systemd/system/pvc-autobackup-full.timer
|
- /etc/systemd/system/pvc-autobackup-full.timer
|
||||||
|
|
|
@ -8,11 +8,6 @@
|
||||||
- pvc_autobackup.auto_mount.enabled is defined and pvc_autobackup.auto_mount.enabled
|
- pvc_autobackup.auto_mount.enabled is defined and pvc_autobackup.auto_mount.enabled
|
||||||
- pvc_autobackup.auto_mount.packages is defined and pvc_autobackup.auto_mount.packages
|
- pvc_autobackup.auto_mount.packages is defined and pvc_autobackup.auto_mount.packages
|
||||||
|
|
||||||
- name: install autobackup YAML configuration
|
|
||||||
template:
|
|
||||||
src: "autobackup/autobackup.yaml.j2"
|
|
||||||
dest: "/etc/pvc/autobackup.yaml"
|
|
||||||
|
|
||||||
- name: install autobackup normal systemd units
|
- name: install autobackup normal systemd units
|
||||||
template:
|
template:
|
||||||
src: "autobackup/pvc-autobackup-normal.{{ item }}.j2"
|
src: "autobackup/pvc-autobackup-normal.{{ item }}.j2"
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
|
|
||||||
- name: install pvc daemon configuration
|
- name: install pvc daemon configuration
|
||||||
template:
|
template:
|
||||||
src: pvc/{{ item }}.j2
|
src: "pvc/{{ item }}.j2"
|
||||||
dest: /etc/pvc/{{ item }}
|
dest: "/etc/pvc/{{ item }}"
|
||||||
mode: 0640
|
mode: 0640
|
||||||
with_items:
|
with_items:
|
||||||
- pvc.conf
|
- pvc.conf
|
||||||
|
|
Loading…
Reference in New Issue