[file] Update description of state (#38451)
* [file] Update description of state
This commit is contained in:
parent
6ddc64bc7c
commit
af9d6aadf0
1 changed files with 3 additions and 3 deletions
|
@ -40,9 +40,9 @@ options:
|
||||||
description:
|
description:
|
||||||
- If C(directory), all immediate subdirectories will be created if they
|
- If C(directory), all immediate subdirectories will be created if they
|
||||||
do not exist, since 1.7 they will be created with the supplied permissions.
|
do not exist, since 1.7 they will be created with the supplied permissions.
|
||||||
If C(file), the file will NOT be created if it does not exist, see the M(copy)
|
If C(file), the file will NOT be created if it does not exist; see the C(touch)
|
||||||
or M(template) module if you want that behavior. If C(link), the symbolic
|
value or M(copy), M(template) module if you want that behavior. If C(link), the
|
||||||
link will be created or changed. Use C(hard) for hardlinks. If C(absent),
|
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.
|
directories will be recursively deleted, and files or symlinks will be unlinked.
|
||||||
Note that C(absent) will not cause C(file) to fail if the C(path) does not exist
|
Note that C(absent) will not cause C(file) to fail if the C(path) does not exist
|
||||||
as the state did not change.
|
as the state did not change.
|
||||||
|
|
Loading…
Reference in a new issue