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
Vinay Dandekar c884d4ab7f Add support for EC2 dynamic data in ec2_facts (#21532)
* Add support for EC2 dynamic data in ec2_facts

- Flattens out JSON in the instance identity document and IAM info/credentials for easy access to facts
- This changes region fact from ‘ansible_ec2_placement_region’ to ’ansible_ec2_instance_identity_document_region’

* Maintain backwards compatibility by putting the region into the old key

* Improve JSON parsing logic and split security group IDs

* Add documentation, backwards compatibility, fix bug and formatting

- Update documentation for ec2_facts with return values
- Preserve JSON value from the metadata service for backwards compatibility
- Fix bug in fix_invalid_varnames
  - The keys in the dict were being modified in place; new dict now created to hold the sanitized keys
  - Consolidate two replace calls with a regex substitution
- Move imports for ec2_facts to the top

* Add support for parsing the IAM instance profile role
2017-06-30 16:27:49 +10:00
..
amazon Add support for EC2 dynamic data in ec2_facts (#21532) 2017-06-30 16:27:49 +10:00
atomic Atomic containers (#21366) 2017-04-26 08:21:08 -07:00
azure Fix Python3 Errors in Azure Cloud Module 2017-06-29 08:30:26 -07:00
centurylink spelling fixes (non-trivial, might catch a bug) (#23646) 2017-04-26 13:14:34 +01:00
cloudscale Fixed import of urlencode and pathname2url from urllib for python3 (#24424) 2017-05-19 12:22:16 -05:00
cloudstack cloudstack: cs_template: default is_routing=None, fixes template upload for users (#26248) 2017-06-29 17:43:31 +02:00
digital_ocean Pep8 fixes for digital_ocean_* 2017-05-08 10:53:47 +08:00
dimensiondata Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
docker Fixes list comparison (#26042) 2017-06-26 11:06:57 -04:00
google Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
linode Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
lxc Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
lxd Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
misc Move helm module to subdirectory 2017-06-21 07:45:41 -04:00
openstack Fail module instead of returning boolean value 2017-06-12 17:55:22 -04:00
ovh New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ovirt cloud: ovirt_disks: Fix download of the qcow disk (#26179) 2017-06-29 08:15:26 -04:00
packet Misc typo for Ansible 2017-06-21 11:19:41 -04:00
profitbricks E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
pubnub Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
rackspace updated docs to clarify default change 2017-06-28 12:13:25 -04:00
smartos Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
softlayer fix typo. (#24531) 2017-05-12 08:42:52 -04:00
univention New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware fixes issue #5633 (#19716) 2017-06-28 10:47:53 -05:00
webfaction E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
__init__.py package files 2016-12-08 11:22:22 -05:00