mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Fix playbook error when files do not exist.
I was seeing "Failed to template loop_control.label: 'dict object' has no attribute 'path'"
This commit is contained in:
parent
7df66eff5e
commit
b2fe1c46ee
@ -27,7 +27,7 @@
|
||||
when: not lookup('vars', item.item, default='') and not item.stat.exists
|
||||
loop: "{{ secrets.results }}"
|
||||
loop_control:
|
||||
label: '{{ item.stat.path }}'
|
||||
label: '{{ item.item }}'
|
||||
|
||||
- name: Include generated secrets unless they are explicitly passed in
|
||||
include_vars: "{{ sources_dest }}/secrets/{{ item.item }}.yml"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user