19 lines
610 B
YAML
19 lines
610 B
YAML
---
|
|
- name: "{{ backups_restic_user_name }} : create restic password file"
|
|
ansible.builtin.template:
|
|
src: "./restic.password"
|
|
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"
|
|
dest: "{{ backups_restic_user_aws_keys_file }}"
|
|
mode: 0600
|
|
|
|
- name: "{{ backups_restic_user_name }} : configure service restic backups"
|
|
ansible.builtin.template:
|
|
src: "./volumes.yml"
|
|
dest: "/etc/restic-batch.d/{{ backups_restic_user_name }}.yml"
|
|
mode: 0644
|