diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2016-02-15 14:13:38 -0500 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2016-02-15 14:13:38 -0500 |
commit | 0ea6fe0c0ffdc7bb796092777c7eeaaf628b3697 (patch) | |
tree | cdfcc8cb4551239f147078657a1ab7751bb69c15 | |
parent | fcf8aa024a54a084cdc1bb11da3bed31724e70d6 (diff) | |
download | ansible-modules-core-0ea6fe0c0ffdc7bb796092777c7eeaaf628b3697.tar.gz |
added follow to specific modules that support it
was removed from common file docs
-rw-r--r-- | files/copy.py | 7 | ||||
-rw-r--r-- | files/file.py | 7 | ||||
-rw-r--r-- | files/replace.py | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/files/copy.py b/files/copy.py index d1164d4b..f768c7e6 100644 --- a/files/copy.py +++ b/files/copy.py @@ -85,6 +85,13 @@ options: required: false default: "False" 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 diff --git a/files/file.py b/files/file.py index 6bbb8198..68a0217e 100644 --- a/files/file.py +++ b/files/file.py @@ -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 = ''' diff --git a/files/replace.py b/files/replace.py index 765f60f5..a48e49f8 100644 --- a/files/replace.py +++ b/files/replace.py @@ -67,6 +67,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""" |