mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Added documentation on file force parameter
This commit is contained in:
parent
a6f64a8e04
commit
e170d7304b
1 changed files with 6 additions and 0 deletions
|
@ -113,6 +113,12 @@ options:
|
|||
description:
|
||||
- accepts only C(default) as value. This will restore a file's SELinux context
|
||||
in the policy. Does nothing if no default value is available.
|
||||
force:
|
||||
required: false
|
||||
default: null
|
||||
choices: []
|
||||
description:
|
||||
- force is required when changing an existing file to a directory, or a link to a directory, and so on. Use this with caution.
|
||||
examples:
|
||||
- code: file path=/etc/foo.conf owner=foo group=foo mode=0644
|
||||
description: Example from Ansible Playbooks
|
||||
|
|
Loading…
Reference in a new issue