On 04.11.2018 23:50, Tom K. wrote:
Hey Uwe,

I hear you and apologies.  Was trying to keep it from getting too messy
since the output is large.

Link to file is
here:  http://microdevsys.com/ansible/ansible-vvv.out.txt.gz

Just the same, in case you can't get to the file, here's the first 100
lines:


TASK [mysql : Print all variables for each remote device]
*************************************************************************************************
task path: /ansible/roles/mysql/tasks/variables.yml:21
ok: [mysql04] => {

Why do you think the errors is related to mysql04?

Your template you have this code

  {% for host in groups['mysql']%}
{{hostvars[host]['ansible_default_ipv4']['address']}}{% if not loop.last %},{% endif %}
  {% endfor %}

The host is looping over every host is the group mysql and getting the ansible_default_ipv4, so anyone of them could be the culprit.
So you need to check them all, the easiest way to do that would be:

  ansible mysql -m setup -a 'filter=ansible_default_ipv4'

--
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8cd36ffef914477f541ad7d83a02d8a1%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to