Commit Graph

28 Commits (1e4bd62af5c9669c2a5e54eac6b389d54d4d8410)

Author SHA1 Message Date
Benno Joy 85e9ccd17b Merge pull request #1030 from jsmartin/asg_rolling_optimizations
ec2_asg: Streamlined rolling udpate algorithm.
10 years ago
Pascal Borreli f29a6ec54d Fixed typos 10 years ago
James Martin b67e1a1ce9 Streamlined rolling udpate algorithm. Still need to account for partials, and not waiting for instances if we're mass terminating them. 10 years ago
steenzout d960dc1584 issue #994: use HAS_BOTO to determine if import was successful:
- removed import of sys module.
- HAS_BOTO constant to check if import was successful.
- trigger a failure when import fails.
- removed unnecessary imports.
10 years ago
James Martin 3bd2b7c8aa Re-wording of feature. 10 years ago
Toshio Kuratomi 5399f3744f Fix review comments from @bcoca in #745 10 years ago
Toshio Kuratomi 9e9fa6a451 Merge branch 'fix-ec2_asg' of https://github.com/m-o-e/ansible-modules-core into m-o-e-fix-ec2_asg 10 years ago
Toshio Kuratomi a78de50801 Minor code formatting 10 years ago
Rowan Wookey 37412219d5 Fixed group name not being passed to wait_for_new_instances when replacing instances
Fixed group_name not being passed to wait_for_elb
Minor code clean up
10 years ago
James Martin 1c96ff32a1 check lb for instance healthy and some refactoring of rolling replace functions.
Optionally waiting for new instances to be in viable state on ASG creation/update.

Properly updating properties and terminating group.
10 years ago
Julien Syx 23fdba26b5 Fix the issue #931
Checking that the parameter doesn't exist. The old code had a bug when the parameter was 0.
10 years ago
moe 0d0205ad54 Woops, make collect/delete loop more efficient. 10 years ago
moe 047bd6f651 Fixes #744.
The following cases work for me now:
- Create new ASG with tags
- Update tags on ASG (create/change/delete)

In short, the module should now work as expected
wrt tagging. The previous code did not work at all
with latest boto for me (serialization errors) and
the logic was buggy anyway; e.g. removed tags
would never get deleted from ec2.
10 years ago
James Martin 242aa9f81b vpc_zone_identifier must be a csv string when an asg is updated. 10 years ago
Brian Coca 0ab5682b87 Merge pull request #260 from willthames/aws_frankfurt
Added better region handling and enabled eu-central-1, leaving centralizing the list on these modules to a subsequent patch
10 years ago
Michael DeHaan 95aa8481b2 Merge pull request #466 from marcus-ahle/devel
Preventing Nonetype is not iterable error when no tags are set for new ASG
10 years ago
Marcus Ahle ba5c36ce5a Preventing Nonetype is not iterable error when no tags are passed in for a newly created ASG 10 years ago
Ben Whaley cf24e7d56c vpc_zone_identifier should be a list as per the docs 10 years ago
Michael DeHaan e7c92a6bc6 More EC2 doc tweaks 10 years ago
Will Thames 30c7f9a7d3 Added better region handling and enabled eu-central-1
Make use of improved connect_to_aws that throws an exception
if a region can't be connected to (e.g. eu-central-1 requires
boto 2.34 onwards)

Add eu-central-1 to the two modules that hardcode their regions
Add us-gov-west-1 to ec2_ami_search to match documentation!
This pull request makes use of the changes in ansible/ansible#9419
10 years ago
Robert Estelle 4dd099fe7a Remove incorrect executable permissions. 10 years ago
James Cammarata a7749a8fce Merge pull request #309 from jsmartin/asg_fix_delete
asg will now be terminated if state=absent.
10 years ago
James Martin 341c7ce307 asg will now be terminated if state=absent.
adds mutually exclusive options
10 years ago
James Cammarata 710b7b9aba Merge pull request #308 from jsmartin/asg_orphaned_code
Removes orphaned code.
10 years ago
James Cammarata ae744f98d8 Serialize tag attributes to ASG properties in ec2_asg
Fixes #108
10 years ago
James Martin d5326e6dbd Removes orphaned code. 10 years ago
James Martin f287600e6c fixes #240, #274, #108 10 years ago
Brian Coca 0c4adcb2c6 made subcategories for cloud modules for better organization 10 years ago