Correct path for file module.
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
- name: Change ownership of volume backups
|
- name: Change ownership of volume backups
|
||||||
file:
|
file:
|
||||||
path: {{ backup_dir }}/{{ item.value.container }}/{{ item.key }}-{{ ansible_date_time.iso8601_basic_short }}.tar.gz
|
path: "{{ backup_dir }}/{{ item.value.container }}/{{ item.key }}-{{ ansible_date_time.iso8601_basic_short }}.tar.gz"
|
||||||
owner: chris
|
owner: chris
|
||||||
group: chris
|
group: chris
|
||||||
loop: "{{ lookup('dict', volumes) }}"
|
loop: "{{ lookup('dict', volumes) }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user