Why does no-changed-when
apply to handlers?
#3232
Unanswered
AndrewKvalheim
asked this question in
Q&A
Replies: 2 comments
-
I agree this is counter intuitive, and I feel this should be a bug |
Beta Was this translation helpful? Give feedback.
0 replies
-
This was kind stated in #3237, but I think the explanation could be better. @ssbarnea, might I suggest this phrasing that actually explains the why instead of just stating that tasks are tasks? - This rule also applies to handlers, not only to tasks because they are also
- tasks.
+ This rule also applies to handlers, handlers are idempotent tasks as well
+ and should correctly report whether their execution resulted in a change
+ or not. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ansible-lint is implying that “nothing needs doing” when this handler is notified:
Doesn’t
notify
already indicate that something needs doing? What is ansible-lint trying to get me to do with this?Beta Was this translation helpful? Give feedback.
All reactions