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.
hashivault_read
certificate
1 parent 10841ee commit a376e1dCopy full SHA for a376e1d
tests/test_vault_raft_migration.yml
@@ -163,9 +163,10 @@
163
success_msg: "Vault is using raft storage backend"
164
165
- name: Read CA certificate from vault
166
- community.hashi_vault.vault_read:
+ hashivault_read:
167
url: http://127.0.0.1:8200
168
- path: OS-TLS-ROOT/cert/ca
+ mount_point: OS-TLS-ROOT
169
+ secret: cert/ca
170
token: "{{ vault_keys.root_token }}"
171
register: vault_ca_cert
172
@@ -177,6 +178,6 @@
177
178
- name: Validate ROOT CA
179
ansible.builtin.assert:
180
that:
- - vault_ca_cert.data.data.certificate == (ca_chain.content | b64decode).rstrip('\n')
181
+ - vault_ca_cert.value.certificate == (ca_chain.content | b64decode).rstrip('\n')
182
fail_msg: "ROOT CA certificate do not match"
183
success_msg: "ROOT CA certificate do match"
0 commit comments