-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive - no-handler: Tasks that run when changed should likely be handlers.
#3655
Comments
I'm hitting this too: https://github.com/ajakk/ansible/actions/runs/5919432937 The check isn't really wrong, but a more intelligent check might be taught that |
See-Also: ansible/ansible-lint#3655 Signed-off-by: John Helmert III <[email protected]>
This fix is incomplete in my case, where the handlers are actually in a separate tasks file. The new Adding a
|
Summary
Ansible lint complains of
no-handler: Tasks that run when changed should likely be handlers.
when it is already a handler.Issue Type
OS / ENVIRONMENT
ansible-lint --version
Using ansible/[email protected]
Unable to use new action at this time due to #3648
GitHub action.
STEPS TO REPRODUCE
Desired Behavior
Don't warn that something should be a handler that already is a handler.
Possible security bugs should be reported via email to
[email protected]
Actual Behavior
Please give some details of what is happening.
Include a minimum complete verifiable example with:
ansible-playbook --syntax-check playbook
The text was updated successfully, but these errors were encountered: