codemeup @ Work
7314cc3867
Fixing error exception handling for python3. Does not need to be compa… ( #3840 )
...
* Fixing error exception handling for python. Does not need to be compatible with Python2.4 b/c boto is Python 2.6 and above.
* Fixing error exception handling for python. Does not need to be compatible with Python2.4 b/c boto is Python 2.6 and above.
* Fixing compile time errors IRT error exception handling for Python 3.5.
This does not need to be compatible with Python2.4 b/c Boto is Python 2.6 and above.
9 years ago
Toshio Kuratomi
cd9a7667aa
Don't raise or catch StandardError in amazon modules
9 years ago
Brian Coca
77ded03510
Merge pull request #953 from rwky/asg_542
...
Fixes #542 error when ec2_asg arguments aren't specified
9 years ago
Frank van Tol
2c24d0482b
Update ec2_asg.py
9 years ago
Brian Coca
c4f64d822c
changed modules to use common ec2 docs for region
9 years ago
EC
9168ed4736
Fixing ec2_asg termination_policy
...
If this isnt set, it wont launch the instances because it needs to default to "Default" despite what boto docs say.
9 years ago
Evan Carter
2e84bb9c99
fixing termination policies for ec2_asg
9 years ago
Brian Coca
05c3b3ea15
minor doc fix
9 years ago
Brian Coca
f1efc121ee
corrected whitepace
9 years ago
Toshio Kuratomi
34655e8e29
correct documentation formatting
9 years ago
Bruno Galindro da Costa
f7f621839a
Added termination_policies option
9 years ago
Brian Coca
b80ec0a335
fixed minor doc issues
9 years ago
Evan Carter
68bd17b15e
Adding default cooldown to AWS ASG
9 years ago
Mike Putnam
5c17a99a1c
Upstream docs show launch_config_name as required.
...
http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_AutoScalingGroup.html
Fixes #11209
Ansible behavior is correct, this commit just updates the docs to
reflect that correctness.
10 years ago
Greg DeKoenigsberg
28a869a030
Updating cloud modules with proper github author information
10 years ago
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
Rowan Wookey
fe5d90f27f
Fixes #542 error when ec2_asg arguments aren't specified
...
If max_size/min_size/desired_capacity are omitted
when updating an autoscaling group use the existing values
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