Actually, there is no Ansible core modules in /usr/share/ansible: they are located in "/usr/lib/pymodules/python2.7/ansible/modules". Since there is only one global "library" variable in /etc/ansible/ansible.cfg, and considering the fact that it is set to /usr/share/ansible by default, without any detailed documentation on that matter, my *guess* is that:
- ansible core modules have the highest priority - it is not possible to establish some priority amongst different libraries with the ansible config file - we should avoid same module names among different libraries since we don't know how Ansible would behave ... unless someone has an official answer. -- 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/b02b7272-3eb1-4e24-b54c-d8785d6a3b22%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
