computer-playbook/roles/native-pull-primary-backups/tasks/main.yml

16 lines
612 B
YAML
Raw Normal View History

2021-01-10 20:35:37 +01:00
- name: create pull-remote-backup.sh
copy:
src: pull-remote-backup.sh
dest: "/usr/local/bin/pull-remote-backup.sh"
2021-01-10 20:35:37 +01:00
- name: create pull-remote-backups.service
template: src=pull-remote-backups.service dest=/etc/systemd/system/pull-remote-backups.service
notify: restart pull-remote-backups service
2021-01-10 20:35:37 +01:00
- name: create pull-remote-backups.timer
template: src=pull-remote-backups.timer dest=/etc/systemd/system/pull-remote-backups.timer
notify: restart pull-remote-backups timer
2020-12-26 16:44:32 +01:00
2021-01-10 20:35:37 +01:00
- name: create pull-remote-backups.sh
template: src=pull-remote-backups.sh dest=/usr/local/bin/pull-remote-backups.sh