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

16 lines
679 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
2023-03-26 17:05:06 +02:00
dest: "bash {{docker_pull_primary_backups_folder}}pull-remote-backup.sh"
2021-01-10 20:35:37 +01:00
- name: create pull-remote-backups.service
2023-03-26 17:05:06 +02:00
template: src=pull-remote-backups.service.j2 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
2023-03-26 17:05:06 +02:00
template: src=pull-remote-backups.timer.j2 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
2023-03-26 17:05:06 +02:00
template: src=pull-remote-backups.sh.j2 dest=bash {{docker_pull_primary_backups_folder}}pull-remote-backups.sh