On 29 July 2015 at 14:49, Leon Xie qdxiaoli...@gmail.com wrote:
max_fail_percentage:
Perhaps any_errors_fatal: true might help?
(btw Seems undocumented)
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from this group and
thanks a lot for your suggestion.
I had a try by adding any_errors_fatal: true.
however, it doesn't work.
++
- hosts: aa
max_fail_percentage: 0
any_errors_fatal: true
roles:
- stop_server
- hosts: allhosts
Hi Serge,
your suggestion about any_errors_fatal works for the hosts that in a single
play.
if there is another play and one of the hosts in the play is not in the
hosts that marked as any_errors_fatal, the tasks in this play will also be
executed.
On Wednesday, July 29, 2015 at 8:54:59 PM