I don't know what to tell you, it does for me.
Sent from ProtonMail mobile
Original Message
On Mar 11, 2021, 09:52, Jorge Rúa wrote:
> I've tried the following with a vanilla ansible.cfg (nothing but defaults)
>
> mkdir ~/temp
>
> ➜ temp cat test.yml
> - hosts: all
> serial: 1
I've tried the following with a vanilla ansible.cfg (nothing but defaults)
mkdir ~/temp
➜ temp cat test.yml
- hosts: all
serial: 1
max_fail_percentage: 1
gather_facts: false
tasks:
- ping:
➜ temp cat inventory
[all]
unreachable
localhost
➜ temp ansible-playbook -i inventory
So, you guys think I should file an issue for this? I don't know what else
to do.
On Wednesday, March 10, 2021 at 4:18:54 PM UTC-6 Mark Faine wrote:
> It still continues on after failing, it just does so one host at a time.
>
> PLAY [Ping]
>
It still continues on after failing, it just does so one host at a time.
PLAY [Ping]
**
TASK [Ping Servers]
What happens if you add serial:1 and max_fail_percentage:1 and removing
any_errors_fatal directive?
On Wed, Mar 10, 2021, 21:35 Mark Faine wrote:
>
> I'm trying to ping servers and fail immediately at the first one that is
> unreachable. However, this doesn't seem to work. I found this old
I'm trying to ping servers and fail immediately at the first one that is
unreachable. However, this doesn't seem to work. I found this old issue
about it but apparently it hasn't been resolved.
https://github.com/ansible/ansible/issues/16475
---
- name: Ping
hosts: all
gather_facts: