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/lib/ansible/modules/cloud
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
..
amazon Update ec2_ami_copy to boto3, fix encrypted support (#20009) 2017-01-12 19:39:32 -05:00
atomic Update atomic_image.py (#19756) 2017-01-05 10:33:05 -08:00
azure Remove quotes - Cloud/azure/azure.py (#19206) 2017-01-08 15:28:48 +00:00
centurylink Some additional module cleanup of mistakes made during merging 2016-12-08 11:35:20 -05:00
cloudstack cloudstack: cs_iso: fix async poll for state=absent (#20050) 2017-01-10 12:06:13 +01:00
digital_ocean Minor grammar change in Digital_Ocean Module doc (#19674) 2016-12-25 00:24:54 +01:00
dimensiondata module_utils/dimensiondata (#17604) 2017-01-12 20:50:43 -08:00
docker module is a property of the global object client (#19744) 2017-01-05 08:59:30 -08:00
google Added the ability to set the size of the boot volume. (#19703) 2017-01-11 16:08:31 -05:00
linode eval() should be avoided when at all possible 2017-01-05 10:41:49 -08:00
lxc Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
lxd Correctly link to modules (#20019) 2017-01-08 17:06:07 +00:00
misc Add DHCP leases to the facts return by the module (#19700) 2017-01-11 18:38:38 -05:00
openstack Adding os_quota support to the OpenStack modules (#19590) 2017-01-08 18:55:12 +00:00
ovh minor spelling changes 2016-12-13 13:51:13 -05:00
ovirt cloud: ovirt: add ability to override luns (#20144) 2017-01-12 14:13:50 -05:00
packet 2 modules for Packet host: packet_device and packet_sshkey (#19005) 2017-01-03 16:10:17 +00:00
profitbricks minor spelling changes 2016-12-13 13:51:13 -05:00
rackspace Removed dict.iteritems() in modules. (#18859) 2016-12-12 15:16:23 -08:00
smartos Add RETURN section, fix identation and apply flake8 recommendations (#20148) 2017-01-12 14:58:07 -08:00
softlayer minor spelling changes 2016-12-13 13:51:13 -05:00
vmware Remove the redundant get_exception import 2017-01-10 08:19:54 -08:00
webfaction Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
__init__.py package files 2016-12-08 11:22:22 -05:00