Commit Graph

8539 Commits (ac0a5c8ad54287075a4208b75d7748f6b5b9229f)
 

Author SHA1 Message Date
Richard C Isaacson ac0a5c8ad5 Dug into the remaining FIXME and replaced with comments to document the expected behavior. 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
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
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
Michael DeHaan a1afd6987c Update copy
Update copy documentation to reference synchronize module
11 years ago
James Cammarata 193657e635 CHANGELOG update for the new accelerate remote_user feature 11 years ago
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.
11 years ago
James Cammarata 9574f89471 Detect remote_user change in accelerate daemon and allow a restart
Fixes #5812
11 years ago
jctanner 6c25ea1b91 Merge pull request #5527 from sergevanginderachter/basedirdwim
path_dwim: fix when basedir not set
11 years ago
James Cammarata f955d9db6a Handle implicit localhost when using '-i host,' syntax
Fixes #5820
11 years ago
Michael DeHaan ca139a5855 re-add the events widget 11 years ago
Michael DeHaan 388365b90a Add reference to Guru to sidebar. 11 years ago
James Tanner 8fbf049e75 Append new features to 1.5 changelog 11 years ago
James Tanner e0c601351a Update 1.5 changelog with list of new modules 11 years ago
Michael DeHaan b4d49d4ec4 Update RELEASES.txt 11 years ago
jctanner 086f879df9 Merge pull request #5823 from kustodian/authorized_keys
Updated authorized_key module documentation regarding manage_dir
11 years ago
mxxcon ffac1b5c7f Updated docs to have choices for crypt_scheme 11 years ago
jctanner 086cf0acb7 Merge pull request #5745 from angstwad/cf-module-revert
Add Rackspace Cloud Files module
11 years ago
jctanner 434c78f263 Merge pull request #5744 from angstwad/revert
Add Rackspace Cloud Files containers module
11 years ago
jctanner 203a66eb48 Merge pull request #4865 from claco/rax_queue
Add rax_queue module to create/delete Rackspace Cloud Queues
11 years ago
jctanner 7fa0d8bdd3 Merge pull request #5461 from sivel/test-module-interpreter
Add -I/--interpreter argument to test-module
11 years ago
jctanner 360f06b41d Merge pull request #5806 from sivel/rax-mod-utils-improvements
Rax mod utils improvements
11 years ago
jctanner 6c1f75c688 Merge pull request #5132 from sivel/rax-keypair
Add rax_keypair module
11 years ago
jctanner 6265128c9e Merge pull request #4941 from sivel/rax-clb-shared-vip
Add ability to specify a VirtualIP ID for sharing a VIP with another LB
11 years ago
kustodian a7839208c7 Updated authorized_key module documentation regarding manage_dir
Added a warning in the documentation about manage_dir when selecting an alternate directory for authorized_keys
11 years ago
jctanner 34db2d17e3 Merge pull request #5759 from j2sol/register-hints
Add hints about what data goes into the variable
11 years ago
James Cammarata cdc34477be Merge branch 'devel' of https://github.com/aclindsa/ansible into aclindsa-devel 11 years ago
Richard Isaacson c997f03b95 Merge pull request #5821 from risaacson/issue5781
If a executable is defined but not found the module should fail.
11 years ago
Aaron Lindsay 59ac969d2b Add move_home option to user module 11 years ago
Richard C Isaacson f0c4dace8d If a executable is defined but not found the module should fail. Addresses https://github.com/ansible/ansible/issues/5781. 11 years ago
jctanner b0c9211164 Merge pull request #5815 from saltvedt/patch-1
Added info on --skip-tags to tags documentation.
11 years ago
James Cammarata 5cc354696d Build variable dictionary on included plays without using dict()
Using dict(k=v) means the key was always named 'k', as the variable
is not interpreted there.

Fixes #5801
11 years ago
jctanner 48c477ffc8 Merge pull request #5790 from geerlingguy/patch-3
Mention shell module in command documentation
11 years ago
jctanner b411cce6f3 Merge pull request #5784 from geerlingguy/patch-1
Update wait_for documentation - remove extra quote
11 years ago