#python module netapp-lib is required
1 messages · Page 1 of 1 (latest)
could you run both playbooks with -vvv and send us the output.
We run all these through tower so I imagine that -vvv is the same type of output that you are looking for
@hushed hornet here are both outputs
It looks like your using different python for each execution
For the top one that worked i see
ansible-playbook 2.9.12
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/var/lib/awx/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /opt/my-envs/custom-venv/lib/python2.7/site-packages/ansible
executable location = /opt/my-envs/custom-venv/bin/ansible-playbook
for the bottom one that didn't i see
ansible-playbook 2.9.14
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/var/lib/awx/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-playbook
what is it that would set that. the second one is a copy paste of a portion of the one thats working
i'm not sure, are they running off different hosts?
No they are running from the exact same system
I think this might be a question for redhat.
I'm not sure what causing your ansible version, configured module path, and executable location path to change between runs
I am asking our internal team that manages ansible and tower as well. I think at some point they had planned an upgrade I wonder if there are 2 ansible installs on the same server
You can set a venv on your server. And install Python and ansible after you activated the venv
Thank you @hushed hornet and @chilly granite I was able to determine that there are a couple of venv on the ansible server that I had no idea about. For some reason this new template was pointed to the default rather than the venv where all of the other netapp templates were running
You are welcome. I'm glad that you figured it out. So, has the issue been fixed now?
its able to run now but is throwing an error about an unverified HTTPS request being sent
I am also having some trouble with schedule and max_transfer_rate that I believe for REST should be transfer_schedule and throttle but when I use those they say they are unsupported for rest and using just schedule and max_transfer_rate forces it to failback to ZAPI which is being deprecated
I have gotten it working the error was somewhat misleading and had to due to hostname instead of the fqdn of the host.
how did you get it to use the venv? i am having the same problem on a venv on centos 7, every playbook asks for netapp-lib but its there