If you just make a directory library/ in your playbook directory
and put the .py in there, Ansible should pick it up when you run your play.

On 30 March 2017 at 22:38, William Muriithi <[email protected]> wrote:
> Good afternoon,
>
>
> [william@cacti ~]$ ansible --version
> ansible 2.1.1.0
>   config file = /etc/ansible/ansible.cfg
>   configured module search path = Default w/o overrides
>
> I am using ansible on RHEL 6 systems.  I am aware I can use command to
> enrol a system to RedHat subscription, but I prefer module unless
> nothing ideal is around.
>
> I noticed there is a module to handle subscription and would like to
> try it.  I can't however find a way of installing preview module
>
> http://docs.ansible.com/ansible/redhat_subscription_module.html
>
> Is there a link somewhere on how to go about this process?
>
> Regards,
> William
>
> --
> 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/CAE9rU%2B7OPeeuHAaLWCuu83%2B4oQ-PFXU0q8gEBS0c4GcTzNc_Zw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAK5eLPRbXJSXmspwVaghPOkcg8fUBF0k-ke5o3n-3L_-nqH7mA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to