Commit Graph

11 Commits (4b4b9551d0a9b898c5b68183170458b9368f28bc)

Author SHA1 Message Date
James Cammarata 7db7be192b Modified ec2_elb doc per issue #3849 11 years ago
Bruce Pennypacker 99c8362a82 Added wait parameter 11 years ago
Bruce Pennypacker 11470fea04 Rebase attempt
No idea if I'm rebasing properly or not.  This is my first attempt.
11 years ago
Bruce Pennypacker 6d6e0d5ab8 Added optional region parameter. Fail if you specify an ELB that doesn't exist.
Boto blindly assumes the us-east-1 region if you don't hardcode a
region in it's config, so you could end up attempting to modify ELB's
in one region from a totally different region.  If a region isn't
specified then default to the region that the module is being run
within rather than the default us-east-1 region since it's a pretty
safe assumption that you intend to work on the ELB's within your
current region.

Also throw an error if a specified ELB instance doesn't exist.  The old
behavior would be to silently succeed with changed=false, so if you had
so much as a typo in the name of your ELB (or were in the wrong region
like my initial testing) you wouldn't get a clear indication that a
problem had occurred.
11 years ago
Michael DeHaan fe6c6e6779 Revert "Added an elb_region parameter for interacting with the ec2 elastic load balancer to work with regions other than us-east-1"
This reverts commit 1264a5b47d.
11 years ago
Ian O Connell 8fc80f296e Added an elb_region parameter for interacting with the ec2 elastic load balancer to work with regions other than us-east-1 11 years ago
John Jarvis 724c2f2709 Parameter and variable naming issues 12 years ago
John Jarvis 8098b80e2d changing arg name for consistency, absent/present for registration 12 years ago
John Jarvis 43910bd290 doc update 12 years ago
John Jarvis bfc0ea3b0e marking the state changed only when there are ELBs to work on 12 years ago
John Jarvis 434a9d3501 Adding module to de-register/register EC2 instances
This module handles AWS EC2 ELB registration.

* De-registration requires the instance id which can be looked up using
  the ec2_facts module.
* Registration requires both the instance id and the elbs that the
  instance belongs to.

De-registration will return an ec2_elb fact that can be used for
registration in post_tasks.
12 years ago