Merge pull request #11747 from AlanCoding/loop_label

Add loop label with docker-compose playbook
This commit is contained in:
Shane McDonald 2022-02-17 09:45:03 -05:00 committed by GitHub
commit 7de86fc4b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,8 @@
mode: '0600'
when: not lookup('vars', item.item, default='') and not item.stat.exists
loop: "{{ secrets.results }}"
loop_control:
label: '{{ item.stat.path }}'
- name: Include generated secrets unless they are explicitly passed in
include_vars: "{{ sources_dest }}/secrets/{{ item.item }}.yml"