Commit Graph

9265 Commits (c09d4b1c7a8494f961ae9e071f89c95a4a944002)
 

Author SHA1 Message Date
James Cammarata 959a156195 Properly count newlines appearing at the end of templates after rendering
Fixes #4633
11 years ago
jctanner cda3f06117 Merge pull request #4957 from retr0h/rabbitmq_policy
Added module to handle rabbit policies [1]
11 years ago
jctanner 7fcf6cebfe Merge pull request #5881 from willthames/ec2_keys
Minor tweaks to simplify examples and documentation
11 years ago
jctanner c13161993a Merge pull request #5410 from willthames/rds_snapshot
rds module: add snapshot capabilities
11 years ago
James Cammarata ca0ec800d8 Revising method for parsing ranges from --limit subsets
Also added a new test (test_subset_range) for future validation.

Fixes #4620
11 years ago
Eric Hanchrow 7e557663c2 Clarify doc for get_url
Move a sentence from doc for the "force" option to that for the "dest" option.
11 years ago
Laurens Van Houtven 62f3c10302 Tell user to make inventory plugin executable
The current version mentions nothing about chmod +x'ing the rax.py file, which means you get a really weird error message when you try to follow it:

```
raise ValueError, "No closing quotation"
```

... from deep inside shlex.py. I'm sure that makes sense if you realized that meant that it was trying to parse `rax.py` as an ini file...
11 years ago
James Cammarata 77d5a18392 When force=yes, get_url should always download the specified file
This is accomplished by not setting the If-Modified-Since header,
and setting "cache-control: no-cache" instead. Note that if the
file content has not changed, the module will still report that
changed=false, as the md5's of the tmp file and existing file are
compared before swapping

Fixes #5104
11 years ago
Richard C Isaacson ac0a5c8ad5 Dug into the remaining FIXME and replaced with comments to document the expected behavior. 11 years ago
jctanner f50f29f304 Merge pull request #5051 from deontologician/patch-1
Added -FF flag to rsync invocation in synchronize
11 years ago
jctanner 825a20780f Merge pull request #5127 from ovcharenko/patches
synchronize module: Added existing_only options to skip creating new files on receiver
11 years ago
jctanner 0a0e9817be Merge pull request #5879 from lberruti/ssh_slow_fix
Fix slow ssh
11 years ago
jctanner 1f9de0c076 Merge pull request #5187 from 42wim/devel
Add support for --copy-links in synchronize
11 years ago
Tom Dymond 486d14cb2d Reworked PR to avoid repeating the command 11 years ago
Amir H. Hajizamani 843f4e7d7c Neaten up example YAML with 2-space indenting 11 years ago
Amir H. Hajizamani 7c38e8a225 Example should put instance_ids list in quotes for avoid YAML error 11 years ago
jctanner 716b5f0c4e Merge pull request #5882 from amirhhz/patch-1
Fix missing quote mark in route53 doc example
11 years ago
Amir H. Hajizamani b0bc2bd86a Fix missing quote mark in route53 doc example 11 years ago
willthames e0c245f1ae Minor tweaks to simplify examples and documentation
Made a few things more consistent with the bulk of the other EC2
modules and removed an unnecessary check that is handled by
AnsibleModule
11 years ago
Luca Berruti 75b7a1d9c7 Fix slow ssh
We break the read while loop after waiting "the end of the process" and
the pipes are empty, otherwise we do another select that waits all the
timeout.
11 years ago
jctanner a0f91f2aaa Merge pull request #5576 from xyrix/symlink-bug-fix
fixed bug causing symlinks to fail in the host_vars, group_vars etc dire...
11 years ago
jctanner 253fe7be50 Merge pull request #5662 from RSpiertz/update_playbook_error
PlayBook: better error message
11 years ago
jctanner a877b8b030 Merge pull request #5624 from mattsoftware/route53_ttl
Enable changes to ttl of a record to be propogated to route53
11 years ago
jctanner 5967b463c9 Merge pull request #5554 from ttarabul/devel
Use /etc/rc.conf.local for sevice configuration on FreeBSD
11 years ago
Richard C Isaacson a3261500dd Addresses #5739 and cleans up copy.py
The copy action_plugin is not easy to read. Part of this commit is taking that file, restructuring it, and adding comments. No functionality changed in how it interacts with the world.

The fix for #5739 ends up being the assumption that there is a cleanup 'rm -rf' that happens at the end of the copy loop. This was not the fact before and we made a bunch of tmp directories that we hoped would end up being cleaned up. Now we just use the tmp directory that the runner provides and cleanup inline if it is a single file to be coppied or after the loop if it is a recursive copy.

As a part of this we did end up having to change runner to provide a flag so that we could short the inline tmp directory removal. This flag defaults to True so it will not change the behavior of other modules that are being called.
11 years ago
James Tanner 5fafc61008 Fixes 5870 Template delegate hostname earlier in the process 11 years ago
Tom Dymond cf80f9b68b Add option to enable the sysctl -e option 11 years ago
James Tanner e0429a4004 Add an issue template 11 years ago
jctanner 2267503c53 Merge pull request #5868 from matburt/devel
Allow quoted strings as passwords in postgres_user
11 years ago
Matthew Jones 31ac3e71df Allow strings containing single and double quotes to be used as passwords for postgres_user 11 years ago
James Tanner d355d3c698 Fixes #5818 Default to all known connection information for the delegate host 11 years ago
Timur Batyrshin 658c15930e reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 11 years ago
James Cammarata 2d0e9cd75d Revert "Fix for issue 5739. The copy module does not delete directories it will only unlinks symlinks."
This reverts commit b20dc4f578.
11 years ago
Richard Isaacson 36f90deebd Merge pull request #5863 from risaacson/htpasswd_space_cleanup
Clean up stray space at the end of a line after a period.
11 years ago
Richard C Isaacson 292d84165e Clean up stray space at the end of a line after a period. 11 years ago
Richard Isaacson f5ed7e1f0a Merge pull request #5828 from mxxcon/patch-1
Updated htpasswd docs to have choices for crypt_scheme
11 years ago
Richard Isaacson 5f5ad19390 Merge pull request #5716 from kintamanimatt/playbook-roles-badparagraph
Fix multiple minor typos in a paragraph
11 years ago
James Cammarata ae9843fccd Fix issue with handler notifications being sent out incorrectly
This is a partial revert of e8ad36c, which introduced the bug.

Fixes #5848
11 years ago
James Cammarata 4e3c14f0fa Merge branch 'risaacson-issue5739_3' into devel 11 years ago
James Cammarata 9ff99acaff Merge branch 'issue5739_3' of https://github.com/risaacson/ansible into risaacson-issue5739_3 11 years ago
jctanner 4a70772d2a Merge pull request #5857 from SalesSeek/uri-allow-patch-method
Allow 'PATCH' method in 'uri' module
11 years ago
Michael DeHaan 90bc9d4a4b Merge pull request #5850 from bcoca/with_items_set
now with_items also accepts sets
11 years ago
Pedro Romano 30c8f514a2 Allow the 'PATCH' method in the 'uri' module since 'httplib2' allows it
and some APIs require it.
11 years ago
Timur Batyrshin db173453ba further compatibility with older versions of python-apt (#5853) 11 years ago
Brian Coca ff024b65b2 now with_items also accepts sets
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
James Cammarata fcb760c36c Merge pull request #5843 from jimi-c/issue_4088
Adding no_log: capability for tasks
11 years ago
Richard C Isaacson b20dc4f578 Fix for issue 5739. The copy module does not delete directories it will only unlinks symlinks. 11 years ago
James Cammarata 75e3b59bbd Adding no_log: capability for tasks
Fixes #4088
11 years ago
Michael DeHaan 460adb4d36 Merge pull request #5835 from mrbanzai/ssh_wrapper_py24
Make `write_ssh_wrapper` work for Python 2.4
11 years ago
Michael Porter 8ccbf13a13 (#5822) Use `mkstemp` to open a temporary file (as NamedTemporaryFile doesn't take a `delete` argument in Python < 2.6) 11 years ago