Eric Hanchrow
7e557663c2
Clarify doc for get_url
...
Move a sentence from doc for the "force" option to that for the "dest" option.
2014-02-05 10:58:48 -08:00
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...
2014-02-05 19:45:08 +01:00
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
2014-02-05 11:56:05 -06:00
Richard C Isaacson
ac0a5c8ad5
Dug into the remaining FIXME and replaced with comments to document the expected behavior.
2014-02-05 11:39:22 -06:00
jctanner
f50f29f304
Merge pull request #5051 from deontologician/patch-1
...
Added -FF flag to rsync invocation in synchronize
2014-02-05 12:02:48 -05:00
jctanner
825a20780f
Merge pull request #5127 from ovcharenko/patches
...
synchronize module: Added existing_only options to skip creating new files on receiver
2014-02-05 11:49:05 -05:00
jctanner
0a0e9817be
Merge pull request #5879 from lberruti/ssh_slow_fix
...
Fix slow ssh
2014-02-05 11:32:51 -05:00
jctanner
1f9de0c076
Merge pull request #5187 from 42wim/devel
...
Add support for --copy-links in synchronize
2014-02-05 11:26:08 -05:00
Amir H. Hajizamani
843f4e7d7c
Neaten up example YAML with 2-space indenting
2014-02-05 15:14:44 +00:00
Amir H. Hajizamani
7c38e8a225
Example should put instance_ids list in quotes for avoid YAML error
2014-02-05 15:12:41 +00:00
jctanner
716b5f0c4e
Merge pull request #5882 from amirhhz/patch-1
...
Fix missing quote mark in route53 doc example
2014-02-05 09:13:31 -05:00
Amir H. Hajizamani
b0bc2bd86a
Fix missing quote mark in route53 doc example
2014-02-05 13:59:31 +00:00
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
2014-02-05 22:25:44 +10:00
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.
2014-02-05 09:45:03 +01:00
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...
2014-02-04 11:39:54 -08:00
jctanner
253fe7be50
Merge pull request #5662 from RSpiertz/update_playbook_error
...
PlayBook: better error message
2014-02-04 11:16:44 -08:00
jctanner
a877b8b030
Merge pull request #5624 from mattsoftware/route53_ttl
...
Enable changes to ttl of a record to be propogated to route53
2014-02-04 11:11:44 -08:00
jctanner
5967b463c9
Merge pull request #5554 from ttarabul/devel
...
Use /etc/rc.conf.local for sevice configuration on FreeBSD
2014-02-04 10:59:19 -08:00
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.
2014-02-04 12:44:10 -06:00
James Tanner
5fafc61008
Fixes 5870 Template delegate hostname earlier in the process
2014-02-04 13:31:22 -05:00
James Tanner
e0429a4004
Add an issue template
2014-02-04 10:15:08 -05:00
jctanner
2267503c53
Merge pull request #5868 from matburt/devel
...
Allow quoted strings as passwords in postgres_user
2014-02-03 19:14:01 -08:00
Matthew Jones
31ac3e71df
Allow strings containing single and double quotes to be used as passwords for postgres_user
2014-02-03 17:07:17 -05:00
James Tanner
d355d3c698
Fixes #5818 Default to all known connection information for the delegate host
2014-02-03 16:59:30 -05:00
Timur Batyrshin
658c15930e
reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 ( #5852 )
2014-02-03 13:00:40 -06:00
James Cammarata
2d0e9cd75d
Revert "Fix for issue 5739. The copy module does not delete directories it will only unlinks symlinks."
...
This reverts commit b20dc4f578
.
2014-02-03 12:54:52 -06:00
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.
2014-02-03 09:53:43 -08:00
Richard C Isaacson
292d84165e
Clean up stray space at the end of a line after a period.
2014-02-03 11:52:37 -06:00
Richard Isaacson
f5ed7e1f0a
Merge pull request #5828 from mxxcon/patch-1
...
Updated htpasswd docs to have choices for crypt_scheme
2014-02-03 09:46:10 -08:00
Richard Isaacson
5f5ad19390
Merge pull request #5716 from kintamanimatt/playbook-roles-badparagraph
...
Fix multiple minor typos in a paragraph
2014-02-03 09:00:16 -08:00
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
2014-02-03 10:10:45 -06:00
James Cammarata
4e3c14f0fa
Merge branch 'risaacson-issue5739_3' into devel
2014-02-03 09:55:03 -06:00
James Cammarata
9ff99acaff
Merge branch 'issue5739_3' of https://github.com/risaacson/ansible into risaacson-issue5739_3
2014-02-03 09:52:50 -06:00
jctanner
4a70772d2a
Merge pull request #5857 from SalesSeek/uri-allow-patch-method
...
Allow 'PATCH' method in 'uri' module
2014-02-03 06:25:11 -08:00
Michael DeHaan
90bc9d4a4b
Merge pull request #5850 from bcoca/with_items_set
...
now with_items also accepts sets
2014-02-02 14:50:30 -08:00
Pedro Romano
30c8f514a2
Allow the 'PATCH' method in the 'uri' module since 'httplib2' allows it
...
and some APIs require it.
2014-02-02 20:53:52 +00:00
Timur Batyrshin
db173453ba
further compatibility with older versions of python-apt ( #5853 )
2014-02-02 23:15:19 +04:00
Brian Coca
ff024b65b2
now with_items also accepts sets
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2014-02-01 17:55:38 -05:00
James Cammarata
fcb760c36c
Merge pull request #5843 from jimi-c/issue_4088
...
Adding no_log: capability for tasks
2014-02-01 04:36:29 -08:00
Richard C Isaacson
b20dc4f578
Fix for issue 5739. The copy module does not delete directories it will only unlinks symlinks.
2014-01-31 17:19:44 -06:00
James Cammarata
75e3b59bbd
Adding no_log: capability for tasks
...
Fixes #4088
2014-01-31 16:58:46 -06:00
Michael DeHaan
460adb4d36
Merge pull request #5835 from mrbanzai/ssh_wrapper_py24
...
Make `write_ssh_wrapper` work for Python 2.4
2014-01-31 05:01:43 -08:00
Michael Porter
8ccbf13a13
( #5822 ) Use mkstemp
to open a temporary file (as NamedTemporaryFile doesn't take a delete
argument in Python < 2.6)
2014-01-30 19:39:39 -05:00
Michael DeHaan
a1afd6987c
Update copy
...
Update copy documentation to reference synchronize module
2014-01-30 17:43:40 -05:00
James Cammarata
193657e635
CHANGELOG update for the new accelerate remote_user feature
2014-01-30 15:23:38 -06:00
James Tanner
e6aeb191d5
Revert "Merge branch 'slow_ssh' of git://github.com/lberruti/ansible into lberruti-slow_ssh"
...
This reverts commit fe091ec00d
, reversing
changes made to aed2194b1d
.
2014-01-30 16:02:05 -05:00
James Cammarata
9574f89471
Detect remote_user change in accelerate daemon and allow a restart
...
Fixes #5812
2014-01-30 14:40:41 -06:00
jctanner
6c25ea1b91
Merge pull request #5527 from sergevanginderachter/basedirdwim
...
path_dwim: fix when basedir not set
2014-01-30 10:54:19 -08:00
James Cammarata
f955d9db6a
Handle implicit localhost when using '-i host,' syntax
...
Fixes #5820
2014-01-30 12:46:02 -06:00
Michael DeHaan
ca139a5855
re-add the events widget
2014-01-30 12:52:34 -05:00