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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5516812.VDl0tTPcMl%40x1.
For more options, visit https://groups.google.com/d/optout.

Reply via email to