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. Kavita 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f9c029d9-4ef9-411a-b30d-595740a5aeaf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.