community.general/lib/ansible/modules
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
..
cloud ec2_asg: fix #28087 and #35993 (#36679) 2018-03-05 11:47:31 -05:00
clustering Bump OpenShift client req to 0.4.3. Fixes openshift_scale. (#36601) 2018-02-22 16:31:47 -05:00
commands Add note to use script module rather than inline here documents (#32863) 2018-02-21 09:12:09 -05:00
crypto crypto: Fix incorrect type for privatekey_passphrase (#36868) 2018-02-28 17:19:22 +01:00
database influxdb_user: implement user password change (#35471) 2018-02-06 11:01:51 +01:00
files ini_file: add allow_no_value param (#24442) 2018-03-05 17:05:41 +01:00
identity keycloak_client: expand documentation, add some checking (#35545) 2018-02-08 08:07:54 -05:00
inventory Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
messaging Fix description for rabbitmq_policy (#36149) 2018-02-14 09:41:05 +01:00
monitoring Update zabbix_maintenance.py (#36123) 2018-02-22 10:46:04 -05:00
net_tools allows ib_spec attrs to be filtered in update (#36673) 2018-02-26 07:55:26 -05:00
network ios_static_route idempotence fix (#35912) 2018-03-05 09:28:37 -05:00
notification Module DOCUMENTATION should match argspec (#34895) 2018-01-16 12:18:51 +00:00
packaging yum: fix yum version comparison (#36573) 2018-02-23 08:55:11 +01:00
remote_management Added extra choice floppy for bootdev option in ipmi_boot module (#36174) 2018-02-27 15:18:55 +00:00
source_control gitlab_project: don't ignore errors (#36702) 2018-02-28 23:22:47 +01:00
storage Fix author string in documentation section (#36798) 2018-02-27 20:25:24 +00:00
system Assume firewall is offline on DBUS_ERROR during init (#36486) 2018-03-03 21:59:10 -06:00
utilities undeprecate include 2018-02-07 12:35:56 -05:00
web_infrastructure properly pass /api/v1/ credential fields for older Towers (#36917) 2018-03-01 15:22:29 -05:00
windows corrected typo in documentation examples (#36894) 2018-03-01 08:55:28 +01:00
__init__.py