|
|
@ -30,14 +30,14 @@ options:
|
|
|
|
state:
|
|
|
|
state:
|
|
|
|
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. If C(file), the file will NOT be created if it does not
|
|
|
|
do not exist, since 1.6 they will be created with the supplied permissions.
|
|
|
|
exist, see the M(copy) or M(template) module if you want that behavior.
|
|
|
|
If C(file), the file will NOT be created if it does not exist, see the M(copy)
|
|
|
|
If C(link), the symbolic link will be created or changed. Use C(hard)
|
|
|
|
or M(template) module if you want that behavior. If C(link), the symbolic
|
|
|
|
for hardlinks. If C(absent), directories will be recursively deleted,
|
|
|
|
link will be created or changed. Use C(hard) for hardlinks. If C(absent),
|
|
|
|
and files or symlinks will be unlinked. If C(touch) (new in 1.4), an empty file will
|
|
|
|
directories will be recursively deleted, and files or symlinks will be unlinked.
|
|
|
|
be created if the c(path) does not exist, while an existing file or
|
|
|
|
If C(touch) (new in 1.4), an empty file will be created if the c(path) does not
|
|
|
|
directory will receive updated file access and modification times (similar
|
|
|
|
exist, while an existing file or directory will receive updated file access and
|
|
|
|
to the way `touch` works from the command line).
|
|
|
|
modification times (similar to the way `touch` works from the command line).
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: file
|
|
|
|
default: file
|
|
|
|
choices: [ file, link, directory, hard, touch, absent ]
|
|
|
|
choices: [ file, link, directory, hard, touch, absent ]
|
|
|
|