I doubt ansible has its own dns cache. I forget which distro it was now but a while back i used to have to occasionally restart nscd service when I had dns problems like this.
Hope this helps, Jon On Friday, June 17, 2016 at 2:20:55 PM UTC+1, Julien Deloubes wrote: > > Problem disappeared but finally reappeared after a few successful runs! > I can always ssh on the impacted hosts. > Don't know where to search? Is Ansible has some sort of dns cache or > something? > > Le dimanche 12 juin 2016 16:57:59 UTC+2, Julien Deloubes a écrit : >> >> Hello, >> i have a strange problem on Ansible 2.0, my playbook couldn't resolve >> anymore the fqdn of my inventory. >> I can ssh to the machines in my inventory. >> I tried using an inventory file or specify the hosts with the -i option. >> I can run the playbook using the ip @. >> I'm scratching my head about what is happening, do you have any clues? >> > -- 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/0fb4999d-fc44-4a44-b7e6-4f56c3f09d08%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
