Getting default library path (or how to override a module)

43 views
Skip to first unread message

Nolan Darilek

unread,
Mar 3, 2014, 1:10:21 PM3/3/14
to ansible...@googlegroups.com
Ran into an error in the docker_image module. I'm working on a PR, but
I'd like to test my changes first. So I did this in my Ansible config:

[defaults]
library = library

My goal is to check the revised docker_image module into our playbook
repo until I fix the issues and submit a PR. However, this doesn't pull
in any of the default Ansible modules.

Is there any way to prepend my local library/ directory to the default
Ansible path? I'd rather not hard-code /usr/share/ansible.

Thanks.
Reply all
Reply to author
Forward
0 new messages