First, /usr/share/ansible is normally where core modules are stored, so not
sure what you are asking, but let me explain how loading works.

If you put a module in a library dir adjacent to a play or in a role with
the same name as a 'core' module, it will override it, if that is what you
are asking.

also the module path (settable in ansible.cfg or by env var) can be used to
establish priority, first found will override others, so if you set a
custom path before the ones shipped with ansible, they will be loaded first
and override them.



----------
Brian Coca

-- 
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/CACVha7c%3Dgy_PUF5nzHDVn%2B45E%3DrmVdx4ySGhgPLOTLR3JyBS0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to