Commit Graph

21 Commits (3d4b5d165cc76c1fef1f604d77ff469e3bb0074a)

Author SHA1 Message Date
Michael Scherer 948900f7fb Fix doc inconsistency (#2630) 9 years ago
Adam Fields 27f561dca2 added a reference to the template module for clarity 9 years ago
Maarten Claes e9c548da41 This fixes copy with the remote_src option
It was broken in 6e37f1dcef when the remote_src was added. Need to
pass the absolute path to copy2 instead of a tuple.
9 years ago
Brian Coca 6e37f1dcef fixed remote_src support, now actually copies and does not move 9 years ago
Brian Coca 5893eb51a5 documented new remote_src option 9 years ago
Marius Gedminas 9bcf69a155 Fix obvious copy-paste error in module docs 9 years ago
James Cammarata 2bfddb015d In copy, set the mode before running th validation
Because some programs that do validation (like visudo) may require
the permissions to be more restricted.

Fixes ansible/ansible#11385
9 years ago
Brian Coca c688408385 fixed fragment docs 9 years ago
Jeff Widman fd6518179b Move validate command into doc fragment and fix a few typos 9 years ago
Greg DeKoenigsberg 2a5f0bde87 Proper author info for all remaining modules 9 years ago
Brian Coca a597992592 updated content description to discourage using as a tempalte module 10 years ago
Brian Coca de4c7f8ba6 switched to use python's built in os.separator vs using / 10 years ago
Brian Coca 7683f36613 fix to return vals docs 10 years ago
Brian Coca 13cdadcc4d removed always for success, as data wont show on fail 10 years ago
Brian Coca cbf42c95b2 draft for documenting module returns 10 years ago
Toshio Kuratomi 9e0959d600 Fix for recursion traceback in copy with relative paths
This is a further fix for: https://github.com/ansible/ansible/issues/9092

when the relative path contains a subdirectory.  Like:

ansible localhost -m copy -a 'src=/etc/group dest=foo/bar/'
10 years ago
Brian Coca 242a1562c3 Merge pull request #36 from mscherer/fix_old_9092
Fix old ticket #9092 where a playbook can enter in recursion
10 years ago
Jeff Geerling b9471c9cd5 Add mention of fetch module to the copy module docs. 10 years ago
Toshio Kuratomi 6317d3a988 Move from md5 to sha1 to work on FIPS-140 enabled systems 10 years ago
Michael Scherer 9cbd4d0fad Fix old ticket #9092 where a playbook can enter in recursion
This can be tested with this command :

    ansible -c local -m copy -a 'src=/etc/group dest=foo/' all

This is a corner case of the algorithm used to find how we should
copy recursively a folder, and this commit detect it and avoid it.

Check https://github.com/ansible/ansible/issues/9092 for the story
10 years ago
Michael DeHaan c8e1a2077e file extensions! 10 years ago