2022-12-18 23:43:40 +01:00
|
|
|
---
|
2022-12-18 17:09:23 +01:00
|
|
|
- name: "{{ services_service_name }} : restic : create restic password file"
|
2022-12-18 17:06:27 +01:00
|
|
|
ansible.builtin.template:
|
|
|
|
src: "./restic/restic.password.j2"
|
|
|
|
dest: "{{ services_backups_restic_services[services_service_name].restic_password_file }}"
|
|
|
|
mode: 0600
|
|
|
|
|
2022-12-18 17:09:23 +01:00
|
|
|
- name: "{{ services_service_name }} : restic : create aws key file"
|
2022-12-18 17:06:27 +01:00
|
|
|
ansible.builtin.template:
|
|
|
|
src: "./restic/restic-aws-keys.yml.j2"
|
|
|
|
dest: "{{ services_backups_restic_services[services_service_name].aws_keys_file }}"
|
|
|
|
mode: 0600
|
|
|
|
|
|
|
|
- name: "{{ services_service_name }} : restic : configure service restic backups"
|
|
|
|
ansible.builtin.template:
|
|
|
|
src: "./restic/restic-volumes-service.yml.j2"
|
|
|
|
dest: "/etc/restic-batch.d/restic-volumes-{{ services_service_name }}.yml"
|
|
|
|
mode: 0644
|