community.general/lib/ansible/modules/cloud
msven a2b3120e85 ec2_asg: fix #28087 and #35993 (#36679)
Fixes #35993 - Changes to update_size in commit eb4cc31 made it so
the group dict passed into update_size was not modified. As a result,
the 'replace' call does not see an updated min_size like it previously
did and doesn't pause to wait for any new instances to spin up. Instead,
it moves straight into terminating old instances. Fix is to add batch_size
to min_size when calling wait_for_new_inst.

Fixes #28087 - Make replace_all_instances and replace_instances behave
exactly the same by setting replace_instances = current list of instances
when replace_all_instances used. Root cause of issue was that without lc_check
terminate_batch will terminate all instances passed to it and after updating
the asg size we were querying the asg again for the list of instances - so terminate batch
saw the list including new ones just spun up.

When creating new asg with replace_all_instances: yes and lc_check: false
the instances that are initially created are then subsequently replaced.
This change makes it so replace only occurs if the asg already existed.

Add integration tests for #28087 and #35993.
2018-03-05 11:47:31 -05:00
..
amazon ec2_asg: fix #28087 and #35993 (#36679) 2018-03-05 11:47:31 -05:00
atomic
azure initial cutover to API profiles (#35538) 2018-02-09 14:26:42 -08:00
centurylink
cloudscale
cloudstack cs_zone_facts: implement return facts as ansible returns (#36993) 2018-03-05 11:42:38 +01:00
digital_ocean New module: digital_ocean_snapshot_facts (#35897) 2018-03-04 10:19:58 +05:30
dimensiondata New dimensiondata_vlan module. (#21218) 2018-02-08 08:42:55 -06:00
docker Docker service update project_name doc (#36713) 2018-02-26 08:25:50 -05:00
google [cloud] New GCP module: DNS Managed Zones (gcp_dns_managed_zone.py) (#35014) 2018-02-06 11:50:16 -05:00
linode
lxc
lxd
misc [terraform] Support initializing modules and providers at runtime (#36996) 2018-03-05 11:01:53 -05:00
oneandone New module: manage 1&1 public ip (cloud/oneandone/oneandone_public_ip) (#35079) 2018-02-07 12:15:27 -06:00
openstack Add a module_utils OpenStack Cloud constructor (#20974) 2018-02-15 15:20:49 +01:00
ovh
ovirt ovirt_vms: Fix NoneType in placement policy check (#36775) 2018-02-28 08:05:58 -05:00
packet
profitbricks
pubnub
rackspace
smartos
softlayer
spotinst
univention
vmware Fixes commit a28eb94, which broke validate_certs = False for python < 2.7.9 (#34887) 2018-03-05 11:34:03 -05:00
vultr
webfaction Fixup VMware module docs issues (#36409) 2018-02-21 15:20:42 +00:00
__init__.py