On Wednesday, 14 November 2018 18:39:28 CET Brian Coca wrote:
> there is no need to register as the host failing the ping will be
> removed from the play.

Yes it's necessary, if not the group_by still runs, just look at this run


PLAY [a2,a1] **********************************

TASK [ping] ***********************************
fatal: [a2]: UNREACHABLE! => {
    "changed": false, 
    "skip_reason": "Host a2 is unreachable", 
    "unreachable": true
}

MSG:

Authentication or permission failure. In some cases, you may have been able to 
authenticate and did not have permissions on the target directory. Consider 
changing the remote tmp path in ansible.cfg to a path rooted in "/tmp". Failed 
command was: ( umask 77 && mkdir -p "` echo 
~/.ansible/tmp/ansible-tmp-1542219116.25-109169561163325 `" && echo 
ansible-tmp-1542219116.25-109169561163325="` echo 
~/.ansible/tmp/ansible-tmp-1542219116.25-109169561163325 `" ), exited with 
result 1


TASK [group_by] *******************************
ok: [a2] => {
    "add_group": "rechable_hosts", 
    "changed": false, 
    "parent_groups": [
        "all"
    ]
}





-- 
Kai Stian Olstad


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to