Commit eab0f1d4 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_web_deploy: Install mitogen to speed up deployment.

Authored by "Hugo Ricateau"
parent 035f2a77
...@@ -122,6 +122,7 @@ EOF ...@@ -122,6 +122,7 @@ EOF
is_package_installed libselinux-python || install_package libselinux-python is_package_installed libselinux-python || install_package libselinux-python
fi fi
is_package_installed unzip || install_package unzip
is_package_installed openssl || install_package openssl is_package_installed openssl || install_package openssl
is_package_installed ansible || install_package ansible is_package_installed ansible || install_package ansible
...@@ -238,3 +239,9 @@ EOF ...@@ -238,3 +239,9 @@ EOF
ansible localhost -m easy_install -a name=slapcache --connection=local ansible localhost -m easy_install -a name=slapcache --connection=local
ansible localhost -m easy_install -a name=requests --connection=local ansible localhost -m easy_install -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
unzip /usr/share/ansible_plugins/mitogen.zip -d /usr/share/ansible_plugins/mitogen/
mv /usr/share/ansible_plugins/mitogen/mitogen-*/* /usr/share/ansible_plugins/mitogen/
fi
\ No newline at end of file
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