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.
1 parent 83fbe67 commit 251409bCopy full SHA for 251409b
ansible/roles/passwords/tasks/validate.yml
@@ -1,4 +1,4 @@
1
- name: Assert secrets created
2
assert:
3
that: (hostvars[inventory_hostname].keys() | select('contains', 'vault_') | length) > 1 # 1 as may have vault_testuser_password defined in dev
4
- fail_msg: "No inventory variables 'vault_*' found: Has ansible/adhoc/generate-passwords.yml been run"
+ fail_msg: "No inventory variables 'vault_*' found: Has ansible/adhoc/generate-passwords.yml been run?"
0 commit comments