Commit e170d730 by Michael DeHaan

Added documentation on file force parameter

parent a6f64a8e
...@@ -113,6 +113,12 @@ options: ...@@ -113,6 +113,12 @@ options:
description: description:
- accepts only C(default) as value. This will restore a file's SELinux context - 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. 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: examples:
- code: file path=/etc/foo.conf owner=foo group=foo mode=0644 - code: file path=/etc/foo.conf owner=foo group=foo mode=0644
description: Example from Ansible Playbooks description: Example from Ansible Playbooks
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment