1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

added follow to specific modules that support it

was removed from common file docs
This commit is contained in:
Brian Coca 2016-02-15 14:13:38 -05:00 committed by Matt Clay
parent cc173b445e
commit b357f4dd72
3 changed files with 21 additions and 0 deletions

View file

@ -85,6 +85,13 @@ options:
required: false
default: "no"
version_added: "2.0"
follow:
required: false
default: "no"
choices: [ "yes", "no" ]
version_added: "1.8"
description:
- 'This flag indicates that filesystem links, if they exist, should be followed.'
extends_documentation_fragment:
- files
- validate

View file

@ -87,6 +87,13 @@ options:
- 'force the creation of the symlinks in two cases: the source file does
not exist (but will appear later); the destination exists and is a file (so, we need to unlink the
"path" file and create symlink to the "src" file in place of it).'
follow:
required: false
default: "no"
choices: [ "yes", "no" ]
version_added: "1.8"
description:
- 'This flag indicates that filesystem links, if they exist, should be followed.'
'''
EXAMPLES = '''

View file

@ -66,6 +66,13 @@ options:
description:
- All arguments accepted by the M(file) module also work here.
required: false
follow:
required: false
default: "no"
choices: [ "yes", "no" ]
version_added: "1.9"
description:
- 'This flag indicates that filesystem links, if they exist, should be followed.'
"""
EXAMPLES = r"""