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:
parent
24a3b6c76a
commit
b9c337e436
1 changed files with 1 additions and 1 deletions
|
@ -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).
|
||||||
|
|
Loading…
Reference in a new issue