On onsdag 6. september 2017 20.15.32 CEST Darko Milodanović wrote:
> Is there a way to register unreachable hosts and print them afterwards
> using debug/msg??
Yes.
- name: Unreatchable hosts
debug: msg="Host unreatchable - {{ item }}"
with_items: "{{ ansible_play_hosts_all | difference(ansible_play_hosts) }}"
--
Kai Stian Olstad