Remove autobackup.yaml and fix quoting

This commit is contained in:
Joshua Boniface 2023-12-01 01:43:14 -05:00
parent 9408bf709c
commit 1cfda69e5e
3 changed files with 2 additions and 8 deletions

View File

@ -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

View File

@ -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"

View File

@ -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