Enhance loop debugging.
This commit is contained in:
15
hetzner.yaml
15
hetzner.yaml
@@ -18,12 +18,9 @@
|
|||||||
|
|
||||||
- debug: var=dirs
|
- debug: var=dirs
|
||||||
|
|
||||||
# - name: Create not existing directories
|
- name: Create not existing directories
|
||||||
# file:
|
debug: var=item.path
|
||||||
# path: "{{ backup_dir }}/{{ item.item }}"
|
when: item.stat.exists == false
|
||||||
# state: directory
|
with_items: "{{ dirs.results }}"
|
||||||
# mode: 0755
|
loop_control:
|
||||||
# when: item.stat.exists == false
|
label: "{{ item.item }}"
|
||||||
# with_items: "{{ dirs.results }}"
|
|
||||||
# loop_control:
|
|
||||||
# label: "{{ item.item }}"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user