From 242e9229a1584cbc3794d25278b87ebc006581b4 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Thu, 23 Aug 2018 16:25:33 -0500 Subject: [PATCH] Pin deprecation of tags in params for include to deprecation of include (#44596) --- lib/ansible/plugins/strategy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/strategy/__init__.py b/lib/ansible/plugins/strategy/__init__.py index cb21bb9544..f30c16575f 100644 --- a/lib/ansible/plugins/strategy/__init__.py +++ b/lib/ansible/plugins/strategy/__init__.py @@ -826,7 +826,7 @@ class StrategyBase: raise AnsibleParserError("Include tasks should not specify tags in more than one way (both via args and directly on the task). " "Mixing tag specify styles is prohibited for whole import hierarchy, not only for single import statement", obj=included_file._task._ds) - display.deprecated("You should not specify tags in the include parameters. All tags should be specified using the task-level option") + display.deprecated("You should not specify tags in the include parameters. All tags should be specified using the task-level option", version='2.12') included_file._task.tags = tags block_list = load_list_of_blocks(