mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented role native-pull-remote-backups
This commit is contained in:
13
roles/native-pull-remote-backups/tasks/main.yml
Normal file
13
roles/native-pull-remote-backups/tasks/main.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
- 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
|
Reference in New Issue
Block a user