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

18 lines
742 B
YAML
Raw Normal View History

- name: pull-remote-backups git
git:
repo: "https://github.com/kevinveenbirkenbach/pull-remote-backup.git"
dest: "/usr/local/bin/pull-remote-backup"
update: yes
- name: configure pull-remote-backups.service.tpl
template: src=pull-remote-backups.service dest=/etc/systemd/system/pull-remote-backups.service
notify: restart pull-remote-backups service
- name: configure pull-remote-backups.timer.tpl
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
- name: configure pull-remote-backups.sh
template: src=pull-remote-backups.sh dest=/usr/local/bin/pull-remote-backup/pull-remote-backups.sh
notify: restart pull-remote-backups timer