Commit 695fb2fa by 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
1 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):
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/ ]; then
wget -O /usr/share/ansible_plugins/
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!