ansible/test/units/plugins/lookup
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
..
__init__.py
test_aws_ssm.py aws ssm parameter lookup - change to return Nones for missing variables (#36456) 2018-02-21 06:50:00 -05:00
test_conjur_variable.py Conjur Lookup Plugin (#34280) 2018-01-23 10:04:57 -06:00
test_ini.py
test_lastpass.py
test_onepassword.py Unify terms and UI between 1Password lookups and facts module (#45427) 2018-09-21 14:26:05 -04:00
test_password.py Share the implementation of hashing for both vars_prompt and password_hash (#21215) 2018-08-27 08:40:41 -07:00