Skip to content
Snippets Groups Projects
Commit 3c2700f6 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

Fixed Vault return value usage from `data` to `vault.data`.

A test was failing due to use of old ipavault module return structure
and some places on the documentation were alse referring to it. All
ocurrences were fixed.
parent 8ca282e2
No related branches found
No related tags found
No related merge requests found
...@@ -197,7 +197,7 @@ Example playbook to make sure vault is absent: ...@@ -197,7 +197,7 @@ Example playbook to make sure vault is absent:
state: absent state: absent
register: result register: result
- debug: - debug:
msg: "{{ result.data }}" msg: "{{ result.vault.data }}"
``` ```
Variables Variables
......
...@@ -243,7 +243,7 @@ EXAMPLES = """ ...@@ -243,7 +243,7 @@ EXAMPLES = """
state: retrieved state: retrieved
register: result register: result
- debug: - debug:
msg: "{{ result.data }}" msg: "{{ result.vault.data }}"
# Change password of a symmetric vault # Change password of a symmetric vault
- ipavault: - ipavault:
......
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
password: SomeNEWpassword password: SomeNEWpassword
state: retrieved state: retrieved
register: result register: result
failed_when: result.data != 'Hello World.' or result.changed failed_when: result.vault.data != 'Hello World.' or result.changed
- name: Retrieve data from symmetric vault, with old password. - name: Retrieve data from symmetric vault, with old password.
ipavault: ipavault:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment