James Tanner
f4b59fe285
Fixes #4516 file module: check prev_state earlier and use that if state is not specified
11 years ago
Daniel Koch
dcdce838cf
Clean up temp file left behind by assemble module
11 years ago
Michael DeHaan
99d6726114
Revert "fix conversion from file to hardlink when force=yes"
...
This reverts commit 4d4518ed52
.
11 years ago
Michael DeHaan
3778b39115
Merge pull request #4380 from joshkehn/lineinfile_validate
...
Added validate option to lineinfile
11 years ago
Michael DeHaan
41ed5635dc
Merge pull request #4632 from simonsd/devel
...
refusing to convert between file and hard when force=yes
11 years ago
jctanner
43f48a2e02
Merge pull request #4167 from tima/rsync3
...
synchronization module take 3
11 years ago
Dave Simons
4d4518ed52
fix conversion from file to hardlink when force=yes
...
Signed-off-by: Dave Simons <dave@inuits.eu>
11 years ago
jctanner
c737f222d5
Merge pull request #4480 from joemaller/absent_path_fix
...
ignore src when file module state=absent
11 years ago
jctanner
51a1a54bfb
Merge pull request #4428 from robparrott/devel
...
Properly handle DEFAULT section with ConfigParser in ini_file modules
11 years ago
jctanner
79071aee79
Merge pull request #4470 from jyap808/patch-1
...
Assume state='directory' if recurse is set and previous state was 'direc...
11 years ago
Michael DeHaan
de3731a14e
Some minor doc updates for the acl module.
11 years ago
Michael DeHaan
658b7d1f47
Merge pull request #3610 from bcoca/acl_module
...
initial draft acl module
11 years ago
Brian Coca
311892a567
added long names to support older version as per feedback
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Joe Maller
8597bf6bba
ignore src when file module state=absent
11 years ago
Julian Yap
76cec9d360
Assume state='directory' if recurse is set and previous state was 'directory'
...
Resolves this issue: https://github.com/ansible/ansible/issues/2067
11 years ago
Andrew Pope
6342046da6
Fixed broken force=yes on files for directories
11 years ago
Robert Parrott
54aeaaf486
small change ... in order to get changed signal correct, move DEFAULT section test upward.
11 years ago
Robert Parrott
762135915c
fix handling of [DEFAULT] section by ConfigParser. it is there by DEFAULT.
11 years ago
Jim Kleckner
f231c86ff3
Add detail to copy module validate argument
...
This clarifies the validate command argument and makes it clear that if
it is present, it must include the '%s' argument for the path to the
temporary file to validate.
11 years ago
Michael DeHaan
ce0efc8e25
Fix typo, relative to absolute, fixes #4126
11 years ago
Joshua Kehn
cc0c908cee
Added validate option to lineinfile
...
The validate option is constructed similarly to the template command's
validate option. TestRunner.py has been updated to include two new
tests, one for passing and one for failing validation.
11 years ago
Michael DeHaan
b9c337e436
"touch" option on file is new in 1.4
11 years ago
Joshua Lund
db8dd1dcc2
Fixed a typo in the fetch module documentation
11 years ago
James Cammarata
93336ce00d
Merge branch 'devel' of https://github.com/volker48/ansible into volker48-devel
11 years ago
James Cammarata
d647c5dc00
Added a delimiter example and a version_added string for assemble
11 years ago
James Cammarata
a97872906f
Fixed a bug in the delimiter change for the assemble module
11 years ago
James Cammarata
bcf9a75d94
Merge branch 'devel' of https://github.com/pcgentry/ansible into pcgentry-devel
11 years ago
James Cammarata
4a467f71cd
Change touched -> touch for new file state, and cleaning up docs
11 years ago
René Moser
3a0fd84115
file: added file attributes in state=touched
11 years ago
René Moser
573ea5bdce
file: skip in check_mode if state=touched
11 years ago
René Moser
06fae59e8b
file: implemented state=touched. Closes GH-4097
11 years ago
Phillip
4b5b6e91fe
adding an optional delimiter argument to the assemble module
11 years ago
Timothy Appnel
99f616ecff
Added docs for archive options in sychronize module. Added missing default value for dirs option.
11 years ago
Timothy Appnel
c2e4129812
Modified changed marker in sychronize module
11 years ago
Timothy Appnel
c1bec5fa07
Added archive options to sychronize module as suggested by @smoothify but with a different default scheme to keep param definitions to a minimum.
11 years ago
Timothy Appnel
4a30ba3a61
Added ingenious change detection trick from @smoothify though at the cost of verbosity controls. (Quiet or verbosity > 1 breaks change detection. Also added better use of module_common methods.
11 years ago
Timothy Appnel
90867d0d0a
Removed busted tmp_dir option that was a bad idea to begin with.
11 years ago
Timothy Appnel
370784ef61
Updated version_added in sychronize module
11 years ago
Timothy Appnel
32ae6fdd43
Return of sychronize module code for take 3
11 years ago
James Cammarata
cee2bddc24
Updated version_added string for the new validate_md5 option
11 years ago
James Cammarata
d9cf1dfefb
Merge branch 'fetch' of https://github.com/bpennypacker/ansible into bpennypacker-fetch
11 years ago
Brian Coca
ef5b735cd5
now w/o python module dependencies
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
James Cammarata
af139cd56a
Merge branch 'file_fixes' of https://github.com/bcoca/ansible into bcoca-file_fixes
11 years ago
James Cammarata
4a30bac78b
Corrected example for lineinfile due to ': ' on line
...
Closes #3992
11 years ago
Marcus McCurdy
46ff02bc57
Makes pervious lineinfile fix more explicit
11 years ago
Marcus McCurdy
64fa95ca11
Improves lineinfile's error checking
...
Line in file would raise a TypeError exception if
the 'line' key was in params, but its value was None.
11 years ago
Bruce Pennypacker
cf6a76c814
changed ignore_md5_mismatch to validate_md5
11 years ago
Bruce Pennypacker
41c474d129
added optional ignore_md5_mismatch parameter
11 years ago
Brian Coca
0e2c63212c
- fixed typos and errors from feedback
...
- now makes sure a proper mask is added
- now captures I/O error produced when group, user or permissions are
invalid
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
James Cammarata
49b0ff18a7
Missed some typos in macros for the xattr doc
11 years ago