hi
I have the below ansible playbook named backup_data.yml, which is included by the main playbook named upgrade.yml.
backup_data.yml
hi
I have the below ansible playbook named backup_data.yml, which is included by the main playbook named upgrade.yml.
backup_data.yml
ansible version is as below:
ansible --version
[WARNING]: The version of gmp you have installed has a known issue regarding
timing vulnerabilities when used with pycrypto. If possible, you should update
it (i.e. yum update gmp).
ansible 1.9.0.1
configured module search path = None
only host 192.168.0.41 failed the task, hosts .42 and .43 continue the
play, the play would abort if all hosts failed.
Hi Brian,
Is there any way to abort 42 and 43 host if any task fails on 41 host?
As I know, “any_errors_fatal: True” and " max_fail_percentage: 0’ can be used to archive this, however, it didn’t work.
thank
I don’t know, those options work for me.
thanks a lot for your reply.