From 0d7e95b4dbb73f3e08f0c3fa19c4678b10c57fab Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Fri, 7 Dec 2018 02:02:47 +1000 Subject: [PATCH] Clarify that do until loops are unsupported on include tasks (#49581) --- 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 da640c2168..107cd231a8 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: