Added databases.csv template copy

This commit is contained in:
Kevin Veen-Birkenbach 2022-01-23 21:43:05 +01:00
parent ac42734e4d
commit ab9300b035

View File

@ -11,3 +11,10 @@
- name: configure docker-volume-backup.timer.tpl - name: configure docker-volume-backup.timer.tpl
template: src=docker-volume-backup.timer dest=/etc/systemd/system/docker-volume-backup.timer template: src=docker-volume-backup.timer dest=/etc/systemd/system/docker-volume-backup.timer
notify: restart docker-volume-backup timer notify: restart docker-volume-backup timer
- name: create /usr/local/bin/docker-volume-backup/databases.csv
copy:
src: "{{ inventory_dir }}/files/{{ inventory_hostname }}/usr/local/bin/docker-volume-backup/databases.csv"
dest: /usr/local/bin/docker-volume-backup/databases.csv
owner: root
group: root