Commit 67ceb724 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

slapos_web_deploy: install python2 even on newest OS

actually ansible uses /usr/bin/python as defaut interpreter. Use this
temporary workaround until we can set properly the ansible python
interpreter. See https://docs.ansible.com/ansible/latest/reference_appendices/python_3_support.html
parent 790a951d
......@@ -131,6 +131,8 @@ if ! is_ubuntu || [[ $DISTRO = wheezy || $DISTRO == jessie || $DISTRO == stretch
else
# Ansible is using python3 now
is_package_installed python3-pip || install_package python3-pip
# XXXX install python2 until we can properly set ansible python interpreter
is_package_installed python || install_package python
fi
if is_fedora && [[ $DISTRO == "f26" ]]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment