Hello!
I (accidentally) upgraded my version of ansbile
on Ubuntu 16.04 Desktop this week. I am now on version 2.4.
$ ansible --version
ansible 2.4.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/<username>/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]
Since the update, I can’t get Trellis to successfully deploy to development, staging or production.
The error I get running vagrant up --provision
is:
ERROR! Unexpected Exception, this is probably a bug: No module named six
to see the full traceback, use -vvv
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
As far as I can tell, I have six
installed.
Using apt:
$ dpkg -l | grep six
ii python-six 1.10.0-3 all Python 2 and 3 compatibility library (Python 2 interface)
ii python3-six 1.10.0-3 all Python 2 and 3 compatibility library (Python 3 interface)
Using pip:
$ pip list | grep six
six (1.10.0)
I stumbled on this issue on GitHub. Not sure if it is related.
Help?