19 lines
619 B
YAML
19 lines
619 B
YAML
---
|
|
- name: "{{ backups_restic_user_name }} : create restic password file"
|
|
ansible.builtin.template:
|
|
src: "./restic.password.j2"
|
|
dest: "{{ backups_restic_user_restic_password_file }}"
|
|
mode: 0600
|
|
|
|
- name: "{{ backups_restic_user_name }} : create aws key file"
|
|
ansible.builtin.template:
|
|
src: "./restic-aws-keys.yml.j2"
|
|
dest: "{{ backups_restic_user_aws_keys_file }}"
|
|
mode: 0600
|
|
|
|
- name: "{{ backups_restic_user_name }} : configure service restic backups"
|
|
ansible.builtin.template:
|
|
src: "./volumes.yml.j2"
|
|
dest: "/etc/restic-batch.d/{{ backups_restic_user_name }}.yml"
|
|
mode: 0644
|