Hi,

caveat - new to ansible.

I have a host that just happens to have chef client installed and is also 
authenticating to an LDAP with 38,000 users in it.
When I run 

$ ansible -m setup -i hosts hostname

it takes a very login time to return, because the ansible setup module is 
finding ohai on the host and that is returning every user in the LDAP.
:-(

This problem exists for chef server as well but the chef server allows for 
disabling the ohai passwd plugin.
Ohai documentation tells me it is not possible to disable in this way when 
run directly on the client host.
Looking at the ansible setup module python code, it looks like there is no 
way to say "don't use ohai even if present". 

Am I missing something, is there an easy way around this problem with 
ansible, apart from removing the chef-client ?

Thanks,

Pete



-- 
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/e6bffefa-bb35-4a08-b98f-eda6653fbad9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to