Correct usage of variables.
This commit is contained in:
@@ -18,7 +18,6 @@
|
|||||||
- name: Copy backup files
|
- name: Copy backup files
|
||||||
copy:
|
copy:
|
||||||
remote_src: true
|
remote_src: true
|
||||||
src: {{ item.path }}
|
src: "{{ item.path }}"
|
||||||
dest: "{{ backup_dir }}"
|
dest: "{{ backup_dir }}"
|
||||||
debug: var=item.path
|
|
||||||
loop: "{{ backup_dirs.files }}"
|
loop: "{{ backup_dirs.files }}"
|
||||||
Reference in New Issue
Block a user