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.
2015-04-01 17:31:10 -06:00
James Martin
3bd2b7c8aa
Re-wording of feature.
2015-03-20 14:59:34 -04:00
Toshio Kuratomi
5399f3744f
Fix review comments from @bcoca in #745
2015-03-20 09:52:19 -07:00
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
2015-03-20 09:43:05 -07:00
Toshio Kuratomi
a78de50801
Minor code formatting
2015-03-19 22:38:06 -07:00
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
2015-03-19 22:38:06 -07:00
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.
2015-03-19 22:38:06 -07:00
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.
2015-03-17 17:57:18 +01:00
moe
0d0205ad54
Woops, make collect/delete loop more efficient.
2015-02-04 06:13:52 +01:00
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.
2015-02-04 05:56:19 +01:00
James Martin
242aa9f81b
vpc_zone_identifier must be a csv string when an asg is updated.
2015-01-07 14:39:28 -05:00
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
2014-12-22 08:47:27 -05:00
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
2014-12-08 14:26:16 -08:00
Marcus Ahle
ba5c36ce5a
Preventing Nonetype is not iterable error when no tags are passed in for a newly created ASG
2014-12-08 12:55:27 -05:00
Ben Whaley
cf24e7d56c
vpc_zone_identifier should be a list as per the docs
2014-12-05 18:04:16 -08:00
Michael DeHaan
e7c92a6bc6
More EC2 doc tweaks
2014-12-01 15:14:57 -05:00
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
2014-11-22 11:35:46 +10:00
Robert Estelle
4dd099fe7a
Remove incorrect executable permissions.
2014-11-13 18:08:48 -05:00
James Cammarata
a7749a8fce
Merge pull request #309 from jsmartin/asg_fix_delete
...
asg will now be terminated if state=absent.
2014-11-12 13:16:49 -06:00
James Martin
341c7ce307
asg will now be terminated if state=absent.
...
adds mutually exclusive options
2014-11-12 12:44:03 -05:00
James Cammarata
710b7b9aba
Merge pull request #308 from jsmartin/asg_orphaned_code
...
Removes orphaned code.
2014-11-12 11:16:06 -06:00
James Cammarata
ae744f98d8
Serialize tag attributes to ASG properties in ec2_asg
...
Fixes #108
2014-11-12 11:04:43 -06:00
James Martin
d5326e6dbd
Removes orphaned code.
2014-11-12 11:48:06 -05:00
James Martin
f287600e6c
fixes #240 , #274 , #108
2014-11-11 19:47:34 -05:00
Brian Coca
0c4adcb2c6
made subcategories for cloud modules for better organization
2014-11-04 11:18:09 -05:00