You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal-error: Failed to find required 'name' key in include_role (warning)
.:1
line with warning 1
line with warning 2
line with warning 26
1 internal-error profile:min tags:core,unskippable
26 jinja profile:min tags:formatting
Failed: 1 failure(s), 26 warning(s) on 862 files.
linters: exit 1 (43.37 seconds) /project_path> python -m pre_commit run -a pid=273404
linters: FAIL ✖ in 53.48 seconds
The confusing part in the error message is that it does not mention that the problem is with the parameter name delivered to the Ansible module. Note also that the Ansible task name contains "name:", and it adds to the confusion. The suggestion is to state explicitly in the error message that the module expects to get "role" as a parameter rather than "name".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
ansible-lint rev: v25.6.1 fails on the following task
with a hard-to-interpret error.
The confusing part in the error message is that it does not mention that the problem is with the parameter name delivered to the Ansible module. Note also that the Ansible task name contains "name:", and it adds to the confusion. The suggestion is to state explicitly in the error message that the module expects to get "role" as a parameter rather than "name".
Beta Was this translation helpful? Give feedback.
All reactions