Commit 2714b4f
Dmitriy Rabotyagov
Fix conditional on ansible_vault_in_place_copy
When ansible_vault_in_place_copy is supploed as extra var it is
not always treated a False properly, still messing up with conditions
Using bool filter help to eliminate such behaviour.
Also reduce verbosity of blockinfile loop by using loop label.
Change-Id: Iafaf53c77288d8f45b0bf0ddd99fe242a9f6e7cb1 parent 6a600eb commit 2714b4f
File tree
1 file changed
+4
-2
lines changed- encrypt_secrets/roles/ansible_vault/tasks
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
91 | | - | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
0 commit comments