From f77c0a44f96a8e64ce71aa574e83858857348503 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Mon, 1 Jul 2013 12:18:07 +0200 Subject: [PATCH] broken docs in files/file module! remove obsolete examples: key --- library/files/file | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/library/files/file b/library/files/file index 1fe3364fcf..960e652fa7 100644 --- a/library/files/file +++ b/library/files/file @@ -125,15 +125,9 @@ options: default: "no" choices: [ "yes", "no" ] description: - - force the creation of the symlinks in two cases: the source file does + - 'force the creation of the symlinks in two cases: the source file does not exist (but will appear later); the destination exists and a file (so, we need to unlink the - "path" file and create symlink to the "src" file in place of it). -examples: - - code: "file: path=/etc/foo.conf owner=foo group=foo mode=0644" - description: Example from Ansible Playbooks - - code: "file: src=/file/to/link/to dest=/path/to/symlink owner=foo group=foo state=link" - - code: "action: file state=link path=/etc/localtime src=/usr/share/zoneinfo/Europe/Zurich force=yes" - description: Force /etc/locatime be the symbolic link to /usr/share/zoneinfo/Europe/Zurich + "path" file and create symlink to the "src" file in place of it).' notes: - See also M(copy), M(template), M(assemble) requirements: [ ]