python - "shade is required for this module" even though shade is installed -


im trying deploy ansible playbook spin new openstack instances , keep getting errorr

"shade required module" 

shade installed dependancies.

i've tried adding

localhost ansible_python_interpreter="/usr/bin/env python" 

to ansible hosts file suggested here, did not work.

https://groups.google.com/forum/#!topic/ansible-project/rvqccvdllcq

any advice on solving appreciated.

on hosts file have following:

[local] 127.0.0.1 ansible_connection=local ansible_python_interpreter="/usr/bin/python" 

so far haven't been using venv , playbooks work fine. adding ansible_connection= local, should tell playbook executed on ansible machine (i guess that's trying do).

then when launch playbook, start following:

- hosts: local   connection: local 

not sure if that's problem. if not work, should give more information (extract of playbook @ least).

good luck!


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -