Merge "Fix with_* loop for ansible 2.9"

This commit is contained in:
Zuul 2020-06-18 16:54:34 +00:00 committed by Gerrit Code Review
commit 8ade6aa407

View File

@ -1,7 +1,7 @@
- name: Register sources - name: Register sources
stat: stat:
path: "{{ zj_source.key }}" path: "{{ zj_source.key }}"
with_dict: "{{ zuul_copy_output }}" loop: "{{ zuul_copy_output|dict2items }}"
loop_control: loop_control:
loop_var: zj_source loop_var: zj_source
register: sources register: sources