Commit graph

26 commits

Author SHA1 Message Date
James Martin
c0f1c5a222 Rolling termination working. Fixes #8501. 2014-09-10 01:26:11 -04:00
Paul Armstrong
86dd24af92 asg-properties Get all the properties from ASG's 2014-08-19 15:25:47 -07:00
James Martin
6137b1909c Implements the proper method for terminated an auto scale group. 2014-08-07 14:50:21 -07:00
James Cammarata
18059b39d7 Merge branch 'asg_update' of https://github.com/jsmartin/ansible into jsmartin-asg_update 2014-08-05 10:20:29 -05:00
James Martin
10011b361b Updated docs for health_check_type parameter. 2014-08-04 13:25:41 -07:00
Matt Ferrante
529c6b5f3c Added setting of the health_check options on an existing ASG 2014-07-14 13:21:02 -04:00
James Martin
787c830835 Updated tag behavior. 2014-07-11 16:48:37 -04:00
Matt Ferrante
ffdd69f2fa fixed the choices typo got the ec2_asg module 2014-07-10 11:01:19 -04:00
James Cammarata
c61d04dd1f Check to make sure key exists in tag list before using it
Fixes #7910
2014-06-24 13:54:33 -05:00
Frédéric de Villamil
b4fc3cdb9a Adds support for health_check_period and health_check_type in ec2_asg module.
Default is set to 300 seconds, which is AWS default.

This PR fixes a bug (#7898) where instances created within an autoscaling group using the `ec2_asg` module gets immediately terminated because the `health_check_period` is set to 0, which causes the instance to be checked without having the time to actually boot.

Adding `health_check_type` is needed because you may want to check your instance health against an ELB instead of just EC2 default cloudwatch.
2014-06-23 12:09:31 +02:00
James Cammarata
5006ef9732 Merge branch 'exit_json' of https://github.com/psa/ansible into psa-exit_json 2014-06-20 13:59:55 -05:00
James Cammarata
a3c79eebb7 Fixing doc typos and adding version_added for tags param in ec2_asg 2014-06-19 00:10:59 -05:00
Matt Ferrante
05632e17c9 ec2_asg module enhancements
- Added a more verbose response
  - includes its settable attributes and a list of its instances.
  - allows setting of tags, changes upon which mark the task changed
  - allow getting of information from asg module, not just setting
  - doesn't mark changed if the parameter wasn't specified
  - Availability Zones are pulled from the region
2014-06-09 13:34:57 -04:00
James Cammarata
14b4887733 Catch failed connection due to a bad region in ec2_scaling_policy
Fixes #7505
2014-06-05 19:40:21 -05:00
Kevin Bell
8e18202796 Fixed asg instance count polling 2014-06-05 16:18:31 -05:00
Kevin Bell
340f7c18c2 Fix default availability zone list 2014-06-05 16:18:31 -05:00
Paul Armstrong
ba52d02b31 Add proper state output to ec2_asg, ec2_metric_alarm, ec2_scaling_policy 2014-05-08 15:51:07 +00:00
Ben Holloway
0830d9eed5 documentation fix 2014-04-24 17:58:39 -06:00
Ben Holloway
c20f6b58c7 attempt to set availability_zones to all if neither availability_zones or vpc_identifier are set 2014-04-24 17:56:26 -06:00
Ben
008905f58d documentation fix availability_zones should be required for ec2_asg 2014-04-24 11:56:25 -06:00
willthames
d1a7fca7f3 Moved AWS modules over to common module fragments
Created common module doc fragment, and applied to all
modules that use ec2_connect or connect_to_aws as
they definitely share the common doc fragments
2014-04-09 21:19:12 +10:00
Zeekin
dba0aa71a9 Improvements to ec2 autoscaling modules
* Added desired_capacity and vpc_zone_identifier to ec2_asg
* Use ec2_argument_spec() method and then remove unnecessary
  declarations from argument_spec
* Remove AWS_REGIONS declaration
* Rename block_device_mappings to volumes to be consistent with ec2
* Remove all pep8 warnings except line length and continuation indent
* Use updated module_utils/ec2.py to add profile and security_token
  support
* Remove mandatory arguments for delete to make launchconfig deletion
  work
* Handle existing launch configurations better
* Improve output information
* Improve documentation
2014-03-17 11:33:43 +10:00
tmperret
dbec576633 Made load_balencers in ec2_lc non-required as not all ASGs require an ELB 2014-03-14 22:39:57 +00:00
Gareth Rushgrove
89148e15ed correct name in documentation and example 2014-03-02 12:00:50 +00:00
Gareth Rushgrove
0fd5628482 correct version added 2014-03-02 11:58:22 +00:00
Gareth Rushgrove
869f95c0a6 Added modules to manage ec2 autoscaling groups
Includes management of Launch Configuration and related Autoscaling
Groups
2014-03-01 16:06:19 +00:00