mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-22 21:00:44 +00:00
include_vars must not be named
This commit is contained in:
parent
e81aaa3a72
commit
1ec1dac888
@ -54,7 +54,8 @@ def check_braces_spaces(candidate, settings):
|
|||||||
def check_named_task(candidate, settings):
|
def check_named_task(candidate, settings):
|
||||||
tasks, errors = get_normalized_tasks(candidate, settings)
|
tasks, errors = get_normalized_tasks(candidate, settings)
|
||||||
nameless_tasks = ['meta', 'debug', 'include_role', 'import_role',
|
nameless_tasks = ['meta', 'debug', 'include_role', 'import_role',
|
||||||
'include_tasks', 'import_tasks', 'block']
|
'include_tasks', 'import_tasks', 'include_vars',
|
||||||
|
'block']
|
||||||
description = "module '%s' used without name attribute"
|
description = "module '%s' used without name attribute"
|
||||||
|
|
||||||
if not errors:
|
if not errors:
|
||||||
|
Loading…
Reference in New Issue
Block a user