Hi!
I have a "when: condition that works fine in "regular" tasks, but not in a
handler . . .  is that expected?

So I'm using a notify, then at the end of the handler task I have a when
condition.  The notification works, but it always triggers, ever when the
condition is false.

Here's the handler:
- name: restart render
  supervisorctl:
    name: "render"
    state: restarted
  when: "'render' in group_names"

Any ideas?

Thanks a lot,
Guy

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CABnTgtWTasr_sL7pUtuP1EeCGFUQcqjVSd%3D-Xk6NvwicczQNuQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to