Add autorestic.all file and move two services

This commit is contained in:
Tobias Reisinger 2024-10-08 00:54:09 +02:00
parent aa9c76a622
commit c28a195f49
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 37 additions and 16 deletions
roles/backup/tasks

View file

@ -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