Skip to content

Commit 251409b

Browse files
sjpbsd109
andauthored
Improve fail message
Co-authored-by: Scott Davidson <[email protected]>
1 parent 83fbe67 commit 251409b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
- name: Assert secrets created
22
assert:
33
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"
4+
fail_msg: "No inventory variables 'vault_*' found: Has ansible/adhoc/generate-passwords.yml been run?"

0 commit comments

Comments
 (0)