As I have described in the previous comment, the problem was due to DNS searching for a DNS server that has not been accessible from the hosts. For that reason, I have tried to setup for these hosts, only the variable that I was going to use, using filter options like "filter=ansible_hostname" . However, it seems that the search time is the same. Is there any option to get the facts I want independently from the rest of them, in order to boost the performance of setup. Thanks for your help.
Τη Δευτέρα, 10 Οκτωβρίου 2016 - 6:23:41 μ.μ. UTC+3, ο χρήστης Anas Theo έγραψε: > > Hello everyone, > > I have installed Ansible in Centos 7 minimal environment , using the > latest version in EPEL (ansible-2.1.1.0-1.el7.noarch). I have to deal with > a very strange phenomenon where the execution of a .yml configuration goes > very slow, when I have to execute it for some remote SLES 11 SP3 virtual > machines. It seems that for these remote virtual machines, 100sec have to > be completed before the setup goes forward. I have tested the same .yml for > Centos 7 remote machines, and works fine, and I have also tested in another > environenment with Centos6 and SLES11 SP2 virtual machines, and they work > just fine. I have tested the execution as root or non-privileged user > without differences. In cases that I'm going to stop the execution in the > middle, an indication like this may be written. > > File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in > _bootstrap > File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in > _bootstrap > self.run() > File > "/usr/lib/python2.7/site-packages/ansible/executor/process/worker.py", line > 117, in run > self.run() > File > "/usr/lib/python2.7/site-packages/ansible/executor/process/worker.py", line > 117, in run > self._rslt_q > self._rslt_q > File > "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line > 124, in run > File > "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line > 124, in run > > I have captured also some traces through tcpdump where the connection > between two nodes is being seen and 100seconds where the remote nodes, are > waiting to respond are evident. Is there any idea ?!!! > -- 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/e1735f41-eaa9-432f-b6ed-c059ffeb17b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.