hi all,
I have the below ansible playbook
++++++++++++++++++++++++++++++++++++++++++++++
- name: do task for AA
hosts: AA
roles:
- AA_ROLE
- name: do task for BB
hosts: BB
roles:
- BB_ROLE
++++++++++++++++++++++++++++++++++++++++++++++
Currently even if one task in AA_ROLE for AA fails, the tasks in BB_ROLE
for BB will also be run.
what I want is that if any task in AA_ROLE fails, the tasks in BB_ROLE
won't be executed.
is there any method to achieve this?
thanks a lot in advance.
--
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/c81c7673-c7bd-4648-b451-c8603ca7f08f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.