0 votes
in Ansible by (909 points)
In which order Ansible load modules from different directories?

1 Answer

0 votes
by (13.1k points)

Ansible automatically loads all modules ( executable files ) from paths: 

# Any directory added to ANSIBLE_LIBRARY environment variable. 

# .ansible/plugins/modules in user’s home directory. 

# /usr/share/ansible/plugins/modules. 

Module paths defined using ‘-M’ argument in ansible command. 

Related questions

...