Correct path for file module.
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
|
||||
- name: Change ownership of volume backups
|
||||
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
|
||||
group: chris
|
||||
loop: "{{ lookup('dict', volumes) }}"
|
||||
|
||||
Reference in New Issue
Block a user