summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2016-12-16 15:19:31 -0500
committerBrian Coca <brian.coca+git@gmail.com>2017-01-09 11:10:27 -0500
commitb593828f08430a26271049dc8ad0129229c7ff0e (patch)
tree292d278532f6452e197d0707f390503d86a4dc25
parentef64f690543a88a9b1c47c1151af6229e58658d6 (diff)
downloadansible-modules-core-b593828f08430a26271049dc8ad0129229c7ff0e.tar.gz
fix docs on static
backport of #19454
-rw-r--r--utilities/logic/include_role.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/utilities/logic/include_role.py b/utilities/logic/include_role.py
index e52364f1..fd7b154b 100644
--- a/utilities/logic/include_role.py
+++ b/utilities/logic/include_role.py
@@ -37,11 +37,6 @@ options:
- "File to load from a Role's defaults/ directory."
required: False
default: 'main'
- static:
- description:
- - Gives Ansible a hint if this is a 'static' include or not. If static it implies that it won't need templating nor loops nor conditionals and will show included tasks in the --list options.
- required: False
- default: None
allow_duplicates:
description:
- Overrides the role's metadata setting to allow using a role more than once with the same parameters.
@@ -55,7 +50,7 @@ notes:
- THIS IS EARLY PREVIEW, THINGS MAY CHANGE
- Handlers are made available to the whole play.
- simple dependencies seem to work fine.
- - "Things not tested (yet): plugin overrides, nesting includes, used as handler, other stuff I did not think of when I wrote this."
+ - As with C(include) this task can be static or dynamic, If static it implies that it won't need templating nor loops nor conditionals and will show included tasks in the --list options. Ansible will try to autodetect what is needed, but you can set `static: yes|no` at task level to control this.
'''
EXAMPLES = """