I have the python package downloaded in the virtual environment and am 
trying to use its ansible module in my playbook, no luck yet.

Location for the package - /var/lib/awx/venv/ansible/lib/..

In the playbook - 
---hosts: localhost
    tasks:
      - name: Job list
        tower_job_list:
          status:
....

But it keeps failing.

On Friday, November 30, 2018 at 11:46:17 AM UTC-8, Kai Stian Olstad wrote:
>
> On Friday, 30 November 2018 20:40:57 CET Kash wrote: 
> > How can I import or include a module in my yaml file that I have 
> downloaded 
> > at a different (custom) location than 
> > 
> > /usr/lib/python2.7/site-packages 
>
>
> https://docs.ansible.com/ansible/2.7/user_guide/playbooks_reuse_roles.html#embedding-modules-and-plugins-in-roles
>  
>
>
> -- 
> Kai Stian Olstad 
>
>
>

-- 
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/d02f6a06-8335-49d0-a8a5-1e4f66f0040f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to