1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

"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 24a3b6c76a
commit b9c337e436

View file

@ -50,7 +50,7 @@ options:
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)
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
directory will receive updated file access and modification times (similar
to the way `touch` works from the command line).