diff options
author | Sandra McCann <samccann@redhat.com> | 2019-03-11 14:50:36 -0400 |
---|---|---|
committer | Alicia Cozine <879121+acozine@users.noreply.github.com> | 2019-03-11 13:50:36 -0500 |
commit | 82ccbd939c3f8a0fee6eff580db09c3289048267 (patch) | |
tree | 2fc3a2f8f6c4451fc4e72099a2926a5a3ee3050a | |
parent | 63b279460707c06864badf7c198aa87f35a24641 (diff) | |
download | ansible-82ccbd939c3f8a0fee6eff580db09c3289048267.tar.gz |
Clarify that do until loops are unsupported on include tasks (#49581) (#53628)
(cherry picked from commit 0d7e95b4dbb73f3e08f0c3fa19c4678b10c57fab)
-rw-r--r-- | lib/ansible/modules/utilities/logic/include_role.py | 3 | ||||
-rw-r--r-- | lib/ansible/modules/utilities/logic/include_tasks.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/ansible/modules/utilities/logic/include_role.py b/lib/ansible/modules/utilities/logic/include_role.py index 155ce10f00..bf7e488bf7 100644 --- a/lib/ansible/modules/utilities/logic/include_role.py +++ b/lib/ansible/modules/utilities/logic/include_role.py @@ -22,7 +22,8 @@ short_description: Load and execute a role description: - Loads and executes a role as a task dynamically. This frees roles from the `roles:` directive and allows them to be treated more as tasks. - - Unlike M(import_role), most keywords, including loops and conditionals, apply to this statement. + - Unlike M(import_role), most keywords, including loop, with_items, and conditionals, apply to this statement. + - The do until loop is not supported on M(include_role). - This module is also supported for Windows targets. version_added: "2.2" options: diff --git a/lib/ansible/modules/utilities/logic/include_tasks.py b/lib/ansible/modules/utilities/logic/include_tasks.py index b02d1264d0..8321a96909 100644 --- a/lib/ansible/modules/utilities/logic/include_tasks.py +++ b/lib/ansible/modules/utilities/logic/include_tasks.py @@ -26,7 +26,8 @@ options: file: description: - The name of the imported file is specified directly without any other option. - - Unlike M(import_tasks), most keywords, including loops and conditionals, apply to this statement. + - Unlike M(import_tasks), most keywords, including loop, with_items, and conditionals, apply to this statement. + - The do until loop is not supported on M(include_tasks). version_added: '2.7' apply: description: |