Commit Graph

4170 Commits (5a8ce71a4a2504214916ec07a8eafe71ad844fb3)

Author SHA1 Message Date
James Cammarata b35e1a664d Fixing up shell quoting issues 10 years ago
James Cammarata 62a1295a3e Security fixes:
* Strip lookup calls out of inventory variables and clean unsafe data
  returned from lookup plugins (CVE-2014-4966)
* Make sure vars don't insert extra parameters into module args and prevent
  duplicate params from superseding previous params (CVE-2014-4967)
10 years ago
James Cammarata 7059528059 Cleaning up svr4pkg commit fix for #7645 11 years ago
Casey Fitzpatrick fadf02d0c6 fix for svr4pkg module failure reporting, issue #7645 11 years ago
James Cammarata 3ebecdd1ed Fixing mysql master replication boolean
Fixes #7528
11 years ago
James Cammarata 58a0bcbe51 Fix issue with symlink path detection
Fixes #7627
Fixes #7664
11 years ago
James Cammarata 10074d3622 Fix linking issue to directories in file module
The os.path.isdir() returns True for symlinks that point to directories,
so we also need to check to make sure it's not a symlink too.

Fixes #7657
11 years ago
evanccopengeo 7cb7fdc2a7 fixing problem where ansible would error out because Amazon was saying the group didnt exist yet (needed to wait a few more seconds for amazon to propagate correctly) 11 years ago
Josef Špak c4b6c0ab84 Fix typo in CHANGE MASTER TO syntax 11 years ago
Brian Coca 4e4ffa669a Correctly examine path for relative links in file module
Fixes #7515
Fixes #7537
11 years ago
Brian Coca adfbcb8760 now module searches for update-alternatives vs hardcoding it 11 years ago
Harlan Lieberman-Berg d98b6ae8ab Remove colon which breaks installation of 1.6.2.
Rework the description so that it doesn't require the colon, rather
than just wrapping it in quotes.
11 years ago
jjshoe b01da1b780 Ensure the validation string has %s in it 11 years ago
James Cammarata 1248d2ce8a Fixing absolute path calculation for file module when linking
Fixes #7403
11 years ago
James Cammarata 362626d07c Default use_proxy to True for fetch_url()
Also added some error handling to the fetch_url() call in the
apt_repository module, so that failures to look up the PPA info
are properly handled.

Fixes #7322
11 years ago
James Cammarata 6b4584d004 Remove erroneous set of status_code causing a traceback in module uri
Fixes #7416
11 years ago
Matt Bray cb0842ab49 docker: fix targetting images by name 11 years ago
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
11 years ago
James Cammarata c5b6d23c63 During vsphere config check attempt cast before marking values missing
Fixes #7385
11 years ago
Konstantin Shabanov e83f14200c Fix env splitting in docker module
ENV variable value could contain '=' (for example mysql://host/db?pool=10)
11 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.
11 years ago
James Cammarata 9d8eee633d Make sure the docker data has a "Names" field before using it
Fixes #7363
11 years ago
Johannes 'fish' Ziemke 3565249471 Fix: Remove check for Ghost state
This fixed the just committed change handling non existent Ghost state.
11 years ago
Johannes 'fish' Ziemke 595813a1fe Remove check for Ghost state
This doesn't exist anymore and causes ansible to throw a KeyError
11 years ago
Herby Gillot 0de306574e rds module: Fix undeclared reference to "params" when setting password in
modify mode.
11 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.
11 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
11 years ago
James Cammarata 7daaabdedb Close fds when running commands from the accelerate daemon
Fixes #7307
11 years ago
James Cammarata 9943c50863 Make sure distro variable is set if python-apt is installed
Fixes #7295
11 years ago
Christian Berendt ce15813e70 made enabled/disabled checks of apache2_module workable 11 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
11 years ago
James Cammarata faf733bc49 Removing zone choices that overly-limit available zones for gce
Fixes #7270
11 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
11 years ago
James Cammarata ae7503d6fb Merge branch 'fix-copy-recursive-issue' of https://github.com/tksmd/ansible into tksmd-fix-copy-recursive-issue 11 years ago
James Cammarata c0f92317ef Fixing a documentation error in the new stackdriver module 11 years ago
James Cammarata 2b898e7e8b Minor fix to imports in new stackdriver module 11 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
11 years ago
James Cammarata 6069d5d4cf Merge branch 'stackdriver' of https://github.com/bwhaley/ansible into bwhaley-stackdriver 11 years ago
James Cammarata ce48e1f9ff Merge pull request #7230 from binarytemple/fix_for_issue_7228
fix issue #7228 ec2_vol crash
11 years ago
bryan hunt 88aaa70f0c fix issue #7228 ec2_vol crash 11 years ago
Atlas Health 49d0ad0644 added example 11 years ago
Atlas Health 4258eb6be7 updated docs to include snapshot_tags option
added version
11 years ago
James Cammarata 04793ff640 Merge branch 'patch-2' of https://github.com/budlight/ansible into budlight-patch-2 11 years ago
Michael DeHaan 6b26efdee0 Merge pull request #7119 from jjshoe/patch-4
Finish reverting a broken commit in #5679
11 years ago
James Cammarata ac1948c04c Minor tweak to rsync_path construction in synchronize module
Fixes #7182
11 years ago
Michael DeHaan d5e254d3c7 Merge pull request #6794 from follower/patch-4
Make `vpc_security_group` docs more accurate
11 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. 11 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
11 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
11 years ago
James Cammarata 826198196b Merge branch 'elb' of https://github.com/bpennypacker/ansible into bpennypacker-elb 11 years ago