community.general/lib/ansible
Mark Maglana b598575213 module_utils/dimensiondata (#17604)
* Add dimensiondata.py in module_utils

This is required by the Dimension Data modules under
lib/ansible/modules/extras/cloud/dimensiondata

* Implement change requests from PR #17604

Requests are listed in:
 https://github.com/ansible/ansible/pull/17604#pullrequestreview-819380

* Changes requested for Ansible PR #16704.

As noted by @abadger:

- Use Py3-compatible import syntax for ConfigParser.
- Use comprehensions instead of filter function.
- Fix buggy comparison of False to 'False'.
- Change b_dict to block_dict.
- Fix invalid syntax for except block that handles multiple exception types.

* Additional changes requested for Ansible PR #16704.

As noted by @abadger:

- Missed a couple of places where we still had invalid exception-handling syntax.

* Remove shebang from dimensiondata.py (Ansible PR #16704).

* Switch to MCP_USER / MCP_PASSWORD.

This is consistent with other Dimension Data Tooling.

* Implement get_configured_credentials.

* Fix typo (missing comma).

* Unify get_credentials implementation (ansible/ansible#17604).

get_credentials will now look in environment, dotfile, and module configuration for credentials (in that order).

* Resolve user Id and password from module configuration before trying environment or dotfile (ansible/ansible#17604).
2017-01-12 20:50:43 -08:00
..
cli ansible doc does not need plugin deprecation error 2017-01-12 13:09:15 -05:00
compat Fix role completion detection problem 2017-01-03 14:32:44 -06:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors adds feature to all modules to be run locally (#18763) 2016-12-15 15:47:29 -05:00
executor Configurable fact path (#18147) 2017-01-12 10:49:04 -05:00
galaxy Previous fix to this failed to account for open_url returning a filehandle (#20097) 2017-01-10 18:14:20 -08:00
inventory fix indent (#20071) 2017-01-10 18:47:03 -08:00
module_utils module_utils/dimensiondata (#17604) 2017-01-12 20:50:43 -08:00
modules module_utils/dimensiondata (#17604) 2017-01-12 20:50:43 -08:00
parsing Make ModuleArgsParser more understandable (#13974) 2017-01-12 18:22:54 -08:00
playbook Configurable fact path (#18147) 2017-01-12 10:49:04 -05:00
plugins better error handling and log messages in network_cli (#20204) 2017-01-12 19:31:35 -05:00
template no calls plz 2017-01-12 10:35:26 -05:00
utils Contributing new module to manage HUAWEI data center CloudEngine switch. (#19793) 2017-01-03 22:30:59 -05:00
vars Fixing another corner case for security related to CVE-2016-9587 2017-01-11 15:52:58 -06:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Configurable fact path (#18147) 2017-01-12 10:49:04 -05:00
release.py Bumping devel version to 2.3.0 2016-10-03 11:46:31 -05:00
test-requirements.txt Switch tests to pytest and ansible-test. 2017-01-11 12:34:59 -08:00