chore: update ansible assertion formatting
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
5 files changed
+57
-63
No files matched your search
@@ -6,7 +6,7 @@
|
||||
|
||||
- name: Check if age key file exists
|
||||
ansible.builtin.assert:
|
||||
that: [result.stat.exists]
|
||||
that: result.stat.exists
|
||||
success_msg: Age file ~/.config/sops/age/keys.txt exists
|
||||
fail_msg: Age file ~/.config/sops/age/keys.txt does not exist
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
- name: Check if age public keys match
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- "'{{ bootstrap_age_public_key }}' in age_contents"
|
||||
that: bootstrap_age_public_key in age_contents
|
||||
success_msg: Age public key {{ bootstrap_age_public_key }} exists
|
||||
fail_msg: Age public key {{ bootstrap_age_public_key }} does not exist
|
||||
Reference in new issue
Block a user