From e170d7304b3ee5cda2c58e22b2b4aabe6a6a3a34 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 3 Oct 2012 20:56:38 -0400 Subject: [PATCH] Added documentation on file force parameter --- library/file | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/library/file b/library/file index 8985ca15bf..e60802a050 100755 --- a/library/file +++ b/library/file @@ -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