"touch" option on file is new in 1.4

This commit is contained in:
Michael DeHaan 2013-10-04 08:45:05 -04:00
parent 71ff1bfce2
commit 41140c94a6

View file

@ -50,7 +50,7 @@ options:
exist, see the M(copy) or M(template) module if you want that behavior. exist, see the M(copy) or M(template) module if you want that behavior.
If C(link), the symbolic link will be created or changed. Use C(hard) If C(link), the symbolic link will be created or changed. Use C(hard)
for hardlinks. If C(absent), directories will be recursively deleted, for hardlinks. If C(absent), directories will be recursively deleted,
and files or symlinks will be unlinked. If C(touch), an empty file will and files or symlinks will be unlinked. If C(touch) (new in 1.4), an empty file will
be created if the c(dest) does not exist, while an existing file or be created if the c(dest) does not exist, while an existing file or
directory will receive updated file access and modification times (similar directory will receive updated file access and modification times (similar
to the way `touch` works from the command line). to the way `touch` works from the command line).