Commit 695fb2fa authored by Alain Takoudjou's avatar Alain Takoudjou

[slapos_web_deploy] use pip instead of easy_install

easy_install is not provided python-setuptools package for ubuntu 18.04. It seems easy_install is being removed
parent a9f0db18
......@@ -126,7 +126,7 @@ is_package_installed unzip || install_package unzip
is_package_installed openssl || install_package openssl
is_package_installed ansible || install_package ansible
is_package_installed python-setuptools || install_package python-setuptools
is_package_installed python-pip || install_package python-pip
if is_fedora && [[ $DISTRO == "f26" ]]; then
is_package_installed python2-rpm || install_package python2-rpm
......@@ -237,8 +237,8 @@ class CallbackModule(baseModule):
EOF
ansible localhost -m easy_install -a name=slapcache --connection=local
ansible localhost -m easy_install -a name=requests --connection=local
ansible localhost -m pip -a name=slapcache --connection=local
ansible localhost -m pip -a name=requests --connection=local
if [ ! -f /usr/share/ansible_plugins/mitogen.zip ]; then
wget -O /usr/share/ansible_plugins/mitogen.zip https://github.com/dw/mitogen/archive/2d7821b824a77930812847c87ea385cf37198c3f.zip
......
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