Modified return value for ipavault module.

The ipavault module was returning a single string value when retrieving
data. To keep consistency with other modules, it should return a dict
with the `data` variable in it.

This change modifies the result of ipavault to be a dict and also fixes
relevant tests, examples and documentation.
This commit is contained in:
Rafael Guterres Jeffman
2020-08-10 16:02:09 -03:00
parent 542e241440
commit 7dd0b547c4
7 changed files with 37 additions and 25 deletions

View File

@@ -248,6 +248,11 @@ Variable | Description | Returned When
-------- | ----------- | -------------
`data` | The data stored in the vault. | If `state` is `retrieved`.
Variable | Description | Returned When
-------- | ----------- | -------------
`vault` | Vault dict with archived data. (dict) <br>Options: | If `state` is `retrieved`.
&nbsp; | `data` - The vault data. | Always
Notes
=====