Commit Graph

25 Commits (9637f620d735459bad38211683c7817fdda89943)

Author SHA1 Message Date
Michael DeHaan b9c337e436 "touch" option on file is new in 1.4 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
Brian Coca 49d7f22db8 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 3e32654f9d fixing problem causing docs not to build 11 years ago
Ben Podoll 13bef3579f 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 19d78d6e18 Remove reference to 'context' since it's not implemented. 11 years ago
Michael DeHaan e003f1e1cc Revert "Fix inconsistent json output"
Breaks recursion parameter on file.

This reverts commit e7226e104e.
11 years ago
Dag Wieers e7226e104e 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).
11 years ago
Jan-Piet Mens f77c0a44f9 broken docs in files/file module!
remove obsolete examples: key
11 years ago
Michael DeHaan c9b6f0d0f2 Merge branch 'files_force' of git://github.com/rhaido/ansible into devel 11 years ago
Michael DeHaan 899ea4de82 Styling: indentation 11 years ago
Mike Grozak bba19cb998 Fixed typo 11 years ago
Mike Grozak 541b086883 Updated documentaion for the file module 11 years ago
Mike Grozak 6c44e264c9 added possibility to force symlinks to none-existent destination (which might appear later) 11 years ago
Mike Grozak 57154b04bb added force parameter to symlink invocation, in order to force the creation in case of already existing destination with the type of 'file' 11 years ago
Michael DeHaan dd7f7d5593 Merge branch 'file_hard' of git://github.com/bcoca/ansible into devel
Conflicts:
	library/files/file
11 years ago
Michael DeHaan 78fdedd490 Merge remote branch 'origin' into devel
Conflicts:
	library/web_infrastructure/django_manage
11 years ago
Jan-Piet Mens 5c69918d53 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
11 years ago
Brian Coca 9e6a584c3f Added hardlink option
Also a bit nicer now with failures
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Serge van Ginderachter 8b188429c7 docfix on file module, aliases for path parameter 11 years ago
Michael DeHaan 3afa8b373e Improve check mode reporting for directories and file modes. 12 years ago
Michael DeHaan 391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago