Hi guys,

I'm hoping I've just overlooked an option, but here's the situation:

After updating from ansible 1.6.2 to 1.8.1, I noticed our ansible runs take
much much longer to actually make contact with the servers.  Here is a
really simple comparison:

https://gist.github.com/brentley/7c644614e5dc3aae045d

The first run is on 1.8.1, the 2nd is the same system on 1.6.2.

This is using the ec2.py dynamic inventory, and both runs had precached
inventory.

When I straced the process, I noticed the 1.8.1 run was doing this:

lstat("/etc/ansible/host_vars/10.10.7.20", 0x7fff243bbe60) = -1 ENOENT
(No such file or directory)
lstat("/etc/ansible/host_vars/10.10.7.20.yml", 0x7fff243bbe60) = -1
ENOENT (No such file or directory)
lstat("/etc/ansible/host_vars/10.10.7.20.yaml", 0x7fff243bbe60) = -1
ENOENT (No such file or directory)
lstat("/etc/ansible/host_vars/10.10.7.20.json", 0x7fff243bbe60) = -1
ENOENT (No such file or directory)

but iterating over our entire inventory. There was an additional block
for /etc/ansible/group_vars/<inventory_name>.* also.

Is there a configuration option or other way to disable this behavior?



--------
Brent
--------

-- 
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/CABta7G2f91%3DDOsdUdTPk%3DLymNQGGpHCbmG%2Bk88r25NaUryCfVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to