We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ecc705 + 2714b4f commit a5df886Copy full SHA for a5df886
encrypt_secrets/roles/ansible_vault/tasks/ansible_vault_strings.yml
@@ -76,7 +76,7 @@
76
when:
77
- _secrets is defined
78
- _secrets | length > 0
79
- - ansible_vault_in_place_copy
+ - ansible_vault_in_place_copy | bool
80
81
- name: Place encrypted secrets in independent blocks
82
ansible.builtin.blockinfile:
@@ -85,10 +85,12 @@
85
marker: "# {mark} ANSIBLE MANAGED {{ item.item['key'] }}"
86
mode: "0600"
87
loop: "{{ new_secrets.results }}"
88
+ loop_control:
89
+ label: "{{ item.item['key'] }}"
90
91
92
- - not ansible_vault_in_place_copy
93
+ - not ansible_vault_in_place_copy | bool
94
95
- name: Undefine the secrets variable
96
ansible.builtin.set_fact:
0 commit comments