community.general/lib/ansible/modules/cloud
Jon Hadfield eb4cc31ae5 [cloud] migrate ec2_asg to boto3 and support application ELB target groups. (#19667)
* switch to boto3 and add support for application ELBs with target groups.

* use py23 compatible dict iterator.

* removing commented out fail_json calls

utilize sets to simplify logic

remove setting a redundant variable

add bounds checking in two places

add AWSRetry decorator - do we want this for other functions too?

change xrange to range so python3 doesn't fail

remove sorting lists of dicts; in python2 this returns None, in python3 this fails

* remove error variable from traceback.format_exc

* Remove boto2-style calls brought in by rebase

Old boto-style calls to `as_group` attributes break in boto3

Also remove module from legacy-PEP8 list

* Add  parameter to target_group_arn option

* Fix HAS_BOTO3 check

* use tags.items() instead of iteritems

* import botocore

* Fixed bugs in deleting autoscaling groups

* make changes in deleting autoscaling groups pep8

* more pep8

* fix version

* fix bugs so local integration tests run

* fix launch config check

* reflect changed status for ASG updates

* Fix existing exception handling and use traceback.

Fix imports

* line length

* Fix notification setup

* Fix mutually exclusive arguments
Only one of the AvailabilityZones and VPCZoneIdentifier arguments should be provided to the CreateAutoScalingGroup call.

* Allow desired_capacity, min_size, max_size, launch_config_name to be derived from the existing ASG if not specified

Remove code updating dict after ASG already uses it
2017-05-11 09:08:19 -04:00
..
amazon [cloud] migrate ec2_asg to boto3 and support application ELB target groups. (#19667) 2017-05-11 09:08:19 -04:00
atomic Atomic containers (#21366) 2017-04-26 08:21:08 -07:00
azure Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
centurylink spelling fixes (non-trivial, might catch a bug) (#23646) 2017-04-26 13:14:34 +01:00
cloudscale E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
cloudstack cloudstack: new module cs_vpn_gateway (#23954) 2017-05-10 14:55:14 +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 Support auto_remove in docker_container (#22929) 2017-05-09 16:19:27 -04:00
google Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
linode Add support for custom kernelid specification in Linode module 2017-04-04 10:50:39 -07: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 Misc fixes and Pep8 fixes for proxmox_* modules (#24162) 2017-05-01 10:02:59 -05:00
openstack Fix os_quota to not break when volumev2 service is not available. 2017-05-04 18:34:12 -04:00
ovh New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ovirt Minor fixes for oVirt modules (#23452) 2017-05-10 09:15:47 -04:00
packet Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01: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 New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
smartos New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
softlayer E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
univention New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware vmware_guest: Don't force onto specific host (#22777) 2017-05-05 05:27:04 -04:00
webfaction E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
__init__.py