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
Is there a way for ansible-lint to detect handlers that are missing/misspelled?
For example, we have roles that use lower-case naming for tasks. After ansible-lint --fix, names are Title-cased automatically, but notify blocks are not. This makes playbooks fail due to handlers being not found.
If ansible-lint would detect it, we could catch those errors on pre-commit level instead of tracing failures in Jenkins :)
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
-
Is there a way for
ansible-lint
to detect handlers that are missing/misspelled?For example, we have roles that use lower-case naming for tasks. After
ansible-lint --fix
, names are Title-cased automatically, butnotify
blocks are not. This makes playbooks fail due to handlers being not found.If
ansible-lint
would detect it, we could catch those errors on pre-commit level instead of tracing failures in Jenkins :)Beta Was this translation helpful? Give feedback.
All reactions