Michael DeHaan
08996d78d6
Add version_added to all modules missing version_added information, the docs formatter will now
...
raise errors when omitted, updated changelog with new modules.
11 years ago
James Tanner
0f3093516d
Merge pull request #4375 from pfalcon/ansible
...
copy: Implement recursive copying if src is a directory.
11 years ago
James Tanner
53ba890312
Fixes #4884 Do not prematurely exit from file module if src not defined
11 years ago
James Tanner
2c57b999fc
Addresses #4801 Update file module docs to indicate behavior for relative src paths
11 years ago
sspans
9f322a5178
skip absolute path creation for old_src, not needed with the new relative links
11 years ago
sspans
4957115e51
only require absolute paths for hardlinks
11 years ago
James Tanner
c3159fefab
Fixes #4516 file module: check prev_state earlier and use that if state is not specified
11 years ago
Michael DeHaan
772bd33a0f
Revert "fix conversion from file to hardlink when force=yes"
...
This reverts commit 4d4518ed52
.
11 years ago
Dave Simons
1f86abcba6
fix conversion from file to hardlink when force=yes
...
Signed-off-by: Dave Simons <dave@inuits.eu>
11 years ago
jctanner
9543169cca
Merge pull request #4480 from joemaller/absent_path_fix
...
ignore src when file module state=absent
11 years ago
Paul Sokolovsky
2b081b517e
copy: Handle "no copy/propagate attrs only" for recursive mode well.
...
For this, add internal "original_basename" param to file module,
similar to copy module. (Param name is a bit misnormer now, should
be treated as "original basepath").
11 years ago
Joe Maller
f7e30347f6
ignore src when file module state=absent
11 years ago
Julian Yap
48d2747b6a
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
4e56510fab
Fixed broken force=yes on files for directories
11 years ago
Michael DeHaan
41140c94a6
"touch" option on file is new in 1.4
11 years ago
James Cammarata
d83b7b4009
Change touched -> touch for new file state, and cleaning up docs
11 years ago
René Moser
958abc8a9a
file: added file attributes in state=touched
11 years ago
René Moser
4a61481498
file: skip in check_mode if state=touched
11 years ago
René Moser
ddd35b187c
file: implemented state=touched. Closes GH-4097
11 years ago
Brian Coca
0121b96b1a
now correctly detects hard links
...
simplified check_mode
simplified other file attribute handling in link mode
made conditionals clearer
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Ben Podoll
5c3addac8d
fixing problem causing docs not to build
11 years ago
Ben Podoll
29f41cf273
adding a little more info to the 'path' param so it's clear there are aliases (which are used in other examples) to avoid confusion
11 years ago
Michael DeHaan
3b3ff552f2
Remove reference to 'context' since it's not implemented.
12 years ago
Michael DeHaan
be35a035b3
Revert "Fix inconsistent json output"
...
Breaks recursion parameter on file.
This reverts commit e7226e104e
.
12 years ago
Dag Wieers
f38d7bc7f0
Fix inconsistent json output
...
The file module would in some cases return dest=/path/to/file, and in other cases return path=/path/to/file, this change makes it more consistent and in line with all the other file-related modules (i.e. copy, assemble, template, ...) by using dest= instead of path= as the input and output argument. (Of course, path is still there as an alias for compatibility).
12 years ago
Jan-Piet Mens
e788a5d930
broken docs in files/file module!
...
remove obsolete examples: key
12 years ago
Michael DeHaan
51a7086c95
Merge branch 'files_force' of git://github.com/rhaido/ansible into devel
12 years ago
Michael DeHaan
90c1701f1c
Styling: indentation
12 years ago
Mike Grozak
da2fb08d47
Fixed typo
12 years ago
Mike Grozak
58618eef8d
Updated documentaion for the file module
12 years ago
Mike Grozak
ee813d3bd7
added possibility to force symlinks to none-existent destination (which might appear later)
12 years ago
Mike Grozak
4716b779f6
added force parameter to symlink invocation, in order to force the creation in case of already existing destination with the type of 'file'
12 years ago
Michael DeHaan
393bfd59b7
Merge branch 'file_hard' of git://github.com/bcoca/ansible into devel
...
Conflicts:
library/files/file
12 years ago
Michael DeHaan
152db00ed9
Merge remote branch 'origin' into devel
...
Conflicts:
library/web_infrastructure/django_manage
12 years ago
Jan-Piet Mens
3404a0fc16
DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
...
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
Added deprecation warning to moduledev.rst and remove deprecated example from it
Fixed up a few typos and uppercased some acronyms.
add consistency to how EXAMPLES are formatted
12 years ago
Brian Coca
45a7f23b73
Added hardlink option
...
Also a bit nicer now with failures
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Serge van Ginderachter
f8f9e7167d
docfix on file module, aliases for path parameter
12 years ago
Michael DeHaan
151038471f
Improve check mode reporting for directories and file modes.
12 years ago
Michael DeHaan
cd97a4cb14
Allow modules to be categorized, and also sort them when generating the documentation.
12 years ago