mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
broken docs in files/file module!
remove obsolete examples: key
This commit is contained in:
parent
955611bda8
commit
f77c0a44f9
1 changed files with 2 additions and 8 deletions
|
@ -125,15 +125,9 @@ options:
|
||||||
default: "no"
|
default: "no"
|
||||||
choices: [ "yes", "no" ]
|
choices: [ "yes", "no" ]
|
||||||
description:
|
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
|
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).
|
"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
|
|
||||||
notes:
|
notes:
|
||||||
- See also M(copy), M(template), M(assemble)
|
- See also M(copy), M(template), M(assemble)
|
||||||
requirements: [ ]
|
requirements: [ ]
|
||||||
|
|
Loading…
Reference in a new issue