added follow to specific modules that support it
was removed from common file docs
This commit is contained in:
parent
403b765c95
commit
8c2ef29a7a
3 changed files with 21 additions and 0 deletions
|
@ -85,6 +85,13 @@ options:
|
||||||
required: false
|
required: false
|
||||||
default: "no"
|
default: "no"
|
||||||
version_added: "2.0"
|
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:
|
extends_documentation_fragment:
|
||||||
- files
|
- files
|
||||||
- validate
|
- validate
|
||||||
|
|
|
@ -87,6 +87,13 @@ options:
|
||||||
- '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 is a file (so, we need to unlink the
|
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).'
|
"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 = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -67,6 +67,13 @@ options:
|
||||||
description:
|
description:
|
||||||
- All arguments accepted by the M(file) module also work here.
|
- All arguments accepted by the M(file) module also work here.
|
||||||
required: false
|
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"""
|
EXAMPLES = r"""
|
||||||
|
|
Loading…
Reference in a new issue