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.
This commit is contained in:
Rafael Guterres Jeffman
2020-08-14 10:43:30 -03:00
parent 8ca282e276
commit 3c2700f68b
3 changed files with 3 additions and 3 deletions

View File

@@ -197,7 +197,7 @@ Example playbook to make sure vault is absent:
state: absent
register: result
- debug:
msg: "{{ result.data }}"
msg: "{{ result.vault.data }}"
```
Variables

View File

@@ -243,7 +243,7 @@ EXAMPLES = """
state: retrieved
register: result
- debug:
msg: "{{ result.data }}"
msg: "{{ result.vault.data }}"
# Change password of a symmetric vault
- ipavault:

View File

@@ -203,7 +203,7 @@
password: SomeNEWpassword
state: retrieved
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.
ipavault: