From 82ccbd939c3f8a0fee6eff580db09c3289048267 Mon Sep 17 00:00:00 2001 From: Sandra McCann Date: Mon, 11 Mar 2019 14:50:36 -0400 Subject: Clarify that do until loops are unsupported on include tasks (#49581) (#53628) (cherry picked from commit 0d7e95b4dbb73f3e08f0c3fa19c4678b10c57fab) --- lib/ansible/modules/utilities/logic/include_role.py | 3 ++- 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: -- cgit v1.2.1