so one of your hosts is not returning the fact for
`ansible_ssh_host_key_ecdsa_public`, its not an issue with the
template, but of getting the variable defined in the first place, the
'item' from the error will tell the first host host it is (add
ignore_errors:yes and you'll see all the hosts that fail).

To avoid such issues you might want to use the |default() filter or
check if the key exists before using it.


--
----------
Brian Coca

-- 
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/CACVha7coGzYr0OP80hc9SydkyoqYR3eygvuZuM_LP80ZzNcecA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to