chore: update ansible assertion formatting

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-07-17 17:30:37 -04:00
1 parent cf34c795b6
commit e447d28df7
5 files changed
+57 -63

No files matched your search

+2 -3
View File
@@ -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