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