Commit Graph

783 Commits (6b4584d0044a9397fe19e73e9830343775d79cd7)

Author SHA1 Message Date
Matt Bray cb0842ab49 docker: fix targetting images by name 12 years ago
James Cammarata c5b6d23c63 During vsphere config check attempt cast before marking values missing
Fixes #7385
12 years ago
Konstantin Shabanov e83f14200c Fix env splitting in docker module
ENV variable value could contain '=' (for example mysql://host/db?pool=10)
12 years ago
napkindrawing 24d885e368 Fix to unescape * was discarded by unescape of @
`decoded_name` was created twice, each from `rset.name`

So, the second call to `.replace(r'\100', '@')` overwrites decoded_name, discarding the result of the call to `.replace(r'\052', '*')`

I had a problem with wildcard domains that was fixed by this patch.
12 years ago
James Cammarata 9d8eee633d Make sure the docker data has a "Names" field before using it
Fixes #7363
12 years ago
Johannes 'fish' Ziemke 3565249471 Fix: Remove check for Ghost state
This fixed the just committed change handling non existent Ghost state.
12 years ago
Johannes 'fish' Ziemke 595813a1fe Remove check for Ghost state
This doesn't exist anymore and causes ansible to throw a KeyError
12 years ago
Herby Gillot 0de306574e rds module: Fix undeclared reference to "params" when setting password in
modify mode.
12 years ago
Yap Sok Ann d33486d52a ec2: Fix bug with running/stopped state and wait=yes.
If `get_all_instances` returns multiple reservations, the old wait loop only
dealt with the first reservation. Thus, the wait loop may end before all
instances get to be running/stopped.

Also clean up the code a little.
12 years ago
James Cammarata 0dabb37337 Make sure the default ec2_group egress rule is not removed
Upon a second run, the default egress rule will be removed when a
vpc is specified but no other egress rules were set. This patch
corrects that behavior by removing the default egress rule from the
list of unmatched outbound rules.

Fixes #7309
12 years ago
James Cammarata d6fc9f1dfc Fixing two bugs in the ec2_elb_lb module
* the current state of the ELB was not reflected properly when checking
  the status after a change was made.
* invalid zones caused a traceback when enabling/disabling zones
12 years ago
James Cammarata faf733bc49 Removing zone choices that overly-limit available zones for gce
Fixes #7270
12 years ago
James Cammarata ce48e1f9ff Merge pull request #7230 from binarytemple/fix_for_issue_7228
fix issue #7228 ec2_vol crash
12 years ago
bryan hunt 88aaa70f0c fix issue #7228 ec2_vol crash 12 years ago
Atlas Health 49d0ad0644 added example 12 years ago
Atlas Health 4258eb6be7 updated docs to include snapshot_tags option
added version
12 years ago
James Cammarata 04793ff640 Merge branch 'patch-2' of https://github.com/budlight/ansible into budlight-patch-2 12 years ago
Michael DeHaan d5e254d3c7 Merge pull request #6794 from follower/patch-4
Make `vpc_security_group` docs more accurate
12 years ago
James Cammarata d2819e22e3 Merge pull request #7212 from jimi-c/issue_7027_ec2_group_egress_rules
Make sure a default allow out rule exists if no other egress rules do
12 years ago
James Cammarata 67092039d7 Merge pull request #7190 from jimi-c/issue_7180_vsphere_guest_hardware_variable_casts
Make sure values are integers for certain hardware items for vpshere_guest
12 years ago
James Cammarata 826198196b Merge branch 'elb' of https://github.com/bpennypacker/ansible into bpennypacker-elb 12 years ago
James Cammarata 50cd3a4a8f Make sure values are integers for certain hardware items for vpshere_guest
Fixes #7180
12 years ago
Ben Holloway e45d33954b documentation fix 12 years ago
Ben Holloway 4596521147 attempt to set availability_zones to all if neither availability_zones or vpc_identifier are set 12 years ago
Bruce Pennypacker dc912ca201 removed unwanted 'if wait else None' 12 years ago
Ben 5a39672efa documentation fix availability_zones should be required for ec2_asg 12 years ago
Ben 30b634eae9 updated example to include instance_type 12 years ago
Ben 9770c7f47d Added instance_type to ec2_lc variable list 12 years ago
James Cammarata 3f1545f9db Fixing the version_added string in the vsphere_guest module 12 years ago
James Cammarata 833ceeca24 Merge branch 'vmware_core' of https://github.com/rhoop/ansible into rhoop-vmware_core 12 years ago
npeters 61bb40c0dd Remove invalid variable 12 years ago
James Cammarata 16874464e9 Merge pull request #7047 from joshuaconner/docker_bugfix_exclude_entrypoint_from_command_check
docker: exclude 'entrypoint' from comparing 'command' param with containers
12 years ago
Richard Hoop 578ba471b1 Author 12 years ago
James Cammarata 060e2193a1 Merge pull request #6991 from joshuaconner/bugfix_dont_send_wrong_params_to_dockerclient_start
Docker: don't send wrong parameters to client.start()
12 years ago
Richard Hoop 07ad8432ec Ready for pull request 12 years ago
Richard Hoop 5692ae95ab Core complete 12 years ago
James Cammarata eb090ad4a2 Merge pull request #6599 from dmage/nova_region_name
use region_name in nova_compute
12 years ago
James Cammarata 24cfcd1f88 Merge pull request #6985 from jimi-c/issue_6763_ec2_vpc_params
Ensure params were set in ec2_vpc before accessing them
12 years ago
Richard Hoop 68d45a6484 Started reconfigured 12 years ago
Ted Timmons b5895712b3 update documentation to include missing option
'list' was added more recently, it was omitted from the documentation.
12 years ago
Richard Hoop 630367ebfc Creation complete 12 years ago
Richard Hoop 3e75e504e0 More config checks and clean up for vm_config settings 12 years ago
Bruce Pennypacker 2be8feebce Changed behavior of deregister. If an instance is not found in the ELB then simply return 'changed=false'. Otherwise always remove the instance from the ELB no matter what state its currently in. 12 years ago
Richard Hoop 06c64785fb Large cleanups. Reintegrating all modules together for a guest 12 years ago
CaptTofu 2990db728a Small bug - 'acts' should be 'facts' 12 years ago
Joshua Conner 4defd9a15a docker: exclude 'entrypoint' from comparing 'command' param with containers
The JSON the Docker API returns includes the container's ENTRYPOINT value (if it has one) with the 'Command' value. So instead of checking if `container['Command'] == module.params['command']`, we just check that `container['Command'].endswith(module.params['command'])` so the entrypoint won't affect a container being properly classified as matching the module params or not.

Also I refactored a super-long `if` statement into some temporary variables - I did it to help me figure out what was going wrong, and then it makes the code more readable so I kept it.
12 years ago
Joshua Conner 10171dc42b docker: send 1.10 params if docker-py is new enough version 12 years ago
James Cammarata 1ef0402f03 Make sure a default allow out rule exists if no other egress rules do
Fixes #7027
12 years ago
Matt Bray 3948dc2d1d docker.client.APIError has moved to docker.errors.APIError
see 18d4db09ec
12 years ago
James Cammarata a37a84243b Check resource_tags value before using it in ec2_vpc
Fixes #7024
12 years ago