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