Commit Graph

4153 Commits (2432b45eb1e081bbc58ba1c04e6b75f58e92b31d)

Author SHA1 Message Date
James Cammarata d6214c5d56 Check module_path permissions when creating ssh_wrapper for git
If the module directory is not writable/executable to the current user
(most likely because of a sudo to a non-root user), the ssh_wrapper
will be created in the default location for mkstemp() calls. To facilitate
the deletion of these new files, a new mechanism for cleaning up files
created by the module was also added.

Fixes #7375
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 7daaabdedb Close fds when running commands from the accelerate daemon
Fixes #7307
12 years ago
James Cammarata 9943c50863 Make sure distro variable is set if python-apt is installed
Fixes #7295
12 years ago
Christian Berendt ce15813e70 made enabled/disabled checks of apache2_module workable 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 b753625dbf Refuse to convert a non-empty directory into a link with the file module
Also adds an integration test for the above.

Fixes #7254
12 years ago
James Cammarata ae7503d6fb Merge branch 'fix-copy-recursive-issue' of https://github.com/tksmd/ansible into tksmd-fix-copy-recursive-issue 12 years ago
James Cammarata c0f92317ef Fixing a documentation error in the new stackdriver module 12 years ago
James Cammarata 2b898e7e8b Minor fix to imports in new stackdriver module 12 years ago
someda 50080b3774 fix #7244 recursive copy fails when setting directory attributes
- reverse the order of new_directory_list returned from split_pre_existing_dir in copy module
12 years ago
James Cammarata 6069d5d4cf Merge branch 'stackdriver' of https://github.com/bwhaley/ansible into bwhaley-stackdriver 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 6b26efdee0 Merge pull request #7119 from jjshoe/patch-4
Finish reverting a broken commit in #5679
12 years ago
James Cammarata ac1948c04c Minor tweak to rsync_path construction in synchronize module
Fixes #7182
12 years ago
Michael DeHaan d5e254d3c7 Merge pull request #6794 from follower/patch-4
Make `vpc_security_group` docs more accurate
12 years ago
Michael DeHaan 5c75ce1133 In apt module show 'name' vs pkg to standardize with the rest of the modules. 'pkg' is an alias for name. 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
James Cammarata a482e1583d Merge branch 'fix_user_non_root_on_rhel' of https://github.com/mscherer/ansible into mscherer-fix_user_non_root_on_rhel 12 years ago
Michael Scherer 28c373da0c Do not fail if we try to generate a ssh key for a user without being root
If we try to use the user module without being root, it fail on RHEL/Fedora
because usermod --help cannot be run. The root cause is lack of permission
due to EAL4+ certification, as seen in shadow-utils changelo.

So if we cannot run it, assume there is no append. It doesn't matter
much since we will not be able to run usermod at all with or without the
option.
12 years ago
Skyler Leigh Amador a8d9470938 Remove --timeout option to rsync from synchronize defaults
The current 10-second default timeout for rsync seems to be behind issue #6809.

As a workaround for the underlying issue in rsync when different versions are
used on the source and destination sides, don't include the timeout option
unless the user specifies a timeout > 0.
12 years ago
Michael DeHaan 2ea386fe04 Merge pull request #7168 from jjshoe/fix_apache2_module_docs
Fix example
12 years ago
Joel Schuweiler 7916545979 Fix example 12 years ago
Joel Schuweiler 5bad971873 Finish reverting #b73cddc 12 years ago
mkosmach fbf3b78ace add simplejson as alternative to json 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
Michael DeHaan 31f7a0693e Add missing license headers to two modules and standardize formatting of another. 12 years ago
James Cammarata 89fa9b7305 Add parameters to get_url for the url username/password
Fixes #6928
12 years ago
James Cammarata 83f300ddd6 Merge branch 'apt_key_format' of https://github.com/andreasf/ansible into andreasf-apt_key_format 12 years ago