1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix PEP8 issue.

This commit is contained in:
Matt Clay 2018-08-23 16:42:51 -07:00
parent 79ecb4c41f
commit 3fb5056606

View file

@ -826,7 +826,8 @@ class StrategyBase:
raise AnsibleParserError("Include tasks should not specify tags in more than one way (both via args and directly on the task). " 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", "Mixing tag specify styles is prohibited for whole import hierarchy, not only for single import statement",
obj=included_file._task._ds) 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", version='2.12') 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 included_file._task.tags = tags
block_list = load_list_of_blocks( block_list = load_list_of_blocks(