generated from ansible/ansible_template
add a task to copy the backup template
This commit is contained in:
parent
473ea09f55
commit
b8ad9de4f2
|
@ -23,6 +23,15 @@
|
|||
mode: "751"
|
||||
when: restic_extract is changed
|
||||
|
||||
- name: "Copy the backup script"
|
||||
template:
|
||||
src: "backup-to-restic.j2"
|
||||
dest: "/home/{{ backup_user_name }}/backup-to-restic"
|
||||
directory_mode: yes
|
||||
owner: "ansible"
|
||||
group: "ansible"
|
||||
mode: 0755
|
||||
|
||||
- name: "Create the restic config dir"
|
||||
file:
|
||||
path: "/etc/restic/"
|
||||
|
|
Reference in New Issue