1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
Sam Doran b60854357b
Unify terms and UI between 1Password lookups and facts module (#45427)
* Unify login behavior between 1Password lookup plugins and module

- Use the same names for all credential aspects
- Only require the minimal amount of information for each
- Add more examples

* Change parameter terms

- use terms in line with 1Password documentation.
- update examples
- update tests

* Improve error messages in lookup plugin

* Unify onepassword_facts with lookup plugins

- use same methods and logic for signing in or reusing existing session
- unify terms with lookup plugins

* Change rc test for determing login

An rc other than 1 can be returned when a current login session does not exist.

* Create AnsibleModuleError class

ansible.errors is not available to modules, so create an AnsibleModuleError class within the module

Do not user os.path.expanduser since this is already done by virtue of the type being "path" in the argument spec.

* Add note about risk with fact caching sensitive data

* Add note on op version that was used for testing
2018-09-21 14:26:05 -04:00
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
integration Changed when condition from checking image version to checking keys being (#45943) 2018-09-21 16:36:37 +05:30
legacy Add an option to enable public ip at server creation (#44826) 2018-09-20 12:13:26 -04:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Add python.py coverage injector for ansible-test. 2018-09-21 11:21:32 -07:00
sanity Improve error handling for docs-build test. 2018-09-21 08:34:07 -07:00
units Unify terms and UI between 1Password lookups and facts module (#45427) 2018-09-21 14:26:05 -04:00
utils Flush output from timing script. 2018-08-31 07:58:12 -07:00