You should just be able to put your custom modules in your 
/etc/ansible/library folder and they will become available to your 
playbooks.

I think you have to have a module_name.ps1 and a module_name.py in 
/etc/ansible/library (the .py file is just used for documentation, but I 
think ansible might expect it.

Also I think module names need to be unque, so make sure your module 
doesn't have the same file name as an existing module (unless you want your 
custom module to be used instead of the supplied module - modules in 
/etc/ansible/library are used if present.

Hope this helps.

Jon

On Wednesday, July 20, 2016 at 3:53:19 PM UTC+1, Deepak Kumar wrote:
>
> Hi,
>
> I am trying to develop ansible modules for windows target machines. I 
> don't know how to import them in my playbooks. Should I need to edit the 
> config file? Can anybody help me?
>

-- 
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/b81246fc-c389-429b-9534-bb05e24e66ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to