Pin deprecation of tags in params for include to deprecation of include (#44596)

pull/44600/head
Matt Martz 6 years ago committed by GitHub
parent 0e6234ab04
commit 242e9229a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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(

Loading…
Cancel
Save