copr: incremental backup to storinator, part 2
This commit is contained in:
parent
c1335a72d9
commit
4035b6eea6
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
- name: backup script
|
- name: backup script
|
||||||
template:
|
template:
|
||||||
src: client-backup-script.sh.j2
|
src: client-backup-script.sh.j2
|
||||||
dest: /usr/local/bin/"{{ item.value.command }}"
|
dest: "/usr/local/bin/{{ item.value.command }}"
|
||||||
owner: "{{ item.value.user }}"
|
owner: "{{ item.value.user }}"
|
||||||
group: "{{ item.value.user }}"
|
group: "{{ item.value.user }}"
|
||||||
mode: 0700
|
mode: 0700
|
||||||
|
@ -17,6 +17,8 @@
|
||||||
owner: "{{ item.value.user }}"
|
owner: "{{ item.value.user }}"
|
||||||
group: "{{ item.value.user }}"
|
group: "{{ item.value.user }}"
|
||||||
mode: 0700
|
mode: 0700
|
||||||
|
with_dict:
|
||||||
|
- "{{ rsnapshot_push.cases }}"
|
||||||
delegate_to: "{{ rsnapshot_push.server_host }}"
|
delegate_to: "{{ rsnapshot_push.server_host }}"
|
||||||
tags: rsnapshot_push
|
tags: rsnapshot_push
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue