Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Import/include ansible module
17 views
Skip to first unread message
Kash
unread,
Nov 30, 2018, 2:40:57 PM
11/30/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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
Thanks
Kai Stian Olstad
unread,
Nov 30, 2018, 2:46:17 PM
11/30/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
https://docs.ansible.com/ansible/2.7/user_guide/playbooks_reuse_roles.html#embedding-modules-and-plugins-in-roles
--
Kai Stian Olstad
Message has been deleted
Kash
unread,
Dec 3, 2018, 7:20:23 AM
12/3/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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.
Reply all
Reply to author
Forward
0 new messages