Add autorestic.all file and move two services
This commit is contained in:
parent
aa9c76a622
commit
c28a195f49
4 changed files with 37 additions and 16 deletions
roles/backup/tasks
|
@ -21,6 +21,14 @@
|
|||
dest: "{{ (service_path, '.autorestic.yml') | path_join }}"
|
||||
mode: "0644"
|
||||
|
||||
- name: Template autorestic.all.yml
|
||||
ansible.builtin.template:
|
||||
src: yml.j2
|
||||
dest: "{{ (service_path, '.autorestic.all.yml') | path_join }}"
|
||||
mode: "0644"
|
||||
vars:
|
||||
yml: "{{ backup_yml_all }}"
|
||||
|
||||
- name: Import tasks specific to the hooks scripts
|
||||
ansible.builtin.import_tasks: hooks.yml
|
||||
- name: Import tasks specific to systemd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue