Hi guys!
Let's assume we have simple playbook:
---
- hosts: server.com
tasks:
- name: Some task
- ...
- notify A
- name: Some another task
- ...
- notify B
- name: Some another another task
- ...
- notify B
handlers:
- name: A
- ...
- name: B
- ...
How can I ensure that handler B will be performed only if A was not
notified? In other words, if both A and B were notified then *only* A must
be performed. If only B or only A was notified then this handler alone must
be performed.
Is it possible to model these requirements in Ansible?
Thanks!
--
Truly yours,
Nikolay Artamonov
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/7a541a82-8e6d-41d2-9109-9c87aff627e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.