I’ve been struggling to get my development sites that use vagrant ro run for a couple of weeks, and wanted to reach out to the roots community to see if anyone had any ideas.vagrant up
does not output any errors, but vagrant provision
shows the output below (I’ve included the full output - but the warnings below might be the most insightful).
Here’s some more info that could be applicable
ansible-galaxy --version
ansible-galaxy 2.4.3.0
config file = /Users/XXX/YYY/trellis/ansible.cfg
configured module search path = ['/Users/Jillian/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.6/site-packages/ansible
executable location = /usr/local/bin/ansible-galaxy
python version = 3.6.4 (default, Mar 5 2018, 15:14:52) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)]
python --version
Python 3.6.4
python -c "import ssl; print(ssl.OPENSSL_VERSION)"
OpenSSL 1.0.2n 7 Dec 2017
python -c 'import ssl; ssl.PROTOCOL_TLSv1_2'
(no output…)
vagrant provision
==> default: Running provisioner: ansible...
default: Running ansible-galaxy...
- changing role composer from 1.5.0 to 1.5.0
- downloading role 'composer', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-composer/archive/1.5.0.tar.gz
- extracting composer to /Users/XXX/YYY/trellis/vendor/roles/composer
- composer (1.5.0) was installed successfully
- changing role ntp from 1.3.0 to 1.3.0
- downloading role 'ntp', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-ntp/archive/1.3.0.tar.gz
- extracting ntp to /Users/XXX/YYY/trellis/vendor/roles/ntp
- ntp (1.3.0) was installed successfully
- changing role logrotate from e7a498d to e7a498d
- downloading role 'logrotate', owned by nickhammond
- downloading role from https://github.com/nickhammond/ansible-logrotate/archive/e7a498d.tar.gz
- extracting logrotate to /Users/XXX/YYY/trellis/vendor/roles/logrotate
- logrotate (e7a498d) was installed successfully
- changing role swapfile from 0.4 to 0.4
- downloading role 'swapfile', owned by kamaln7
- downloading role from https://github.com/kamaln7/ansible-swapfile/archive/0.4.tar.gz
- extracting swapfile to /Users/XXX/YYY/trellis/vendor/roles/swapfile
- swapfile (0.4) was installed successfully
- changing role geerlingguy.daemonize from 1.1.1 to 1.1.1
- downloading role 'daemonize', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-daemonize/archive/1.1.1.tar.gz
- extracting geerlingguy.daemonize to /Users/XXX/YYY/trellis/vendor/roles/geerlingguy.daemonize
- geerlingguy.daemonize (1.1.1) was installed successfully
- changing role mailhog from 2.1.0 to 2.1.0
- downloading role 'mailhog', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-mailhog/archive/2.1.0.tar.gz
- extracting mailhog to /Users/XXX/YYY/trellis/vendor/roles/mailhog
- mailhog (2.1.0) was installed successfully
[WARNING]: - dependency geerlingguy.daemonize from role mailhog differs from
already installed version (1.1.1), skipping
default: Running ansible-playbook...
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use
'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.
This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is
discouraged. The module documentation details page may explain more about this
rationale.. This feature will be removed in a future release. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ERROR! Unexpected Exception, this is probably a bug: No module named 'ansible.compat.six'
pip list | grep six
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
six (1.11.0)
Thanks! Any help on this would be greatly appreciated Let me know if my question can be more clear.
Update:
vagrant provision
now works… I was able to get it working with a combination of using Python 2.7.13 (and unlinking and linking it with brew unlink python && brew link python
) and installing ansible 2.3.2, and relinking openssl 1.0.2n
My websites still don’t work though… now with no error messages …