Commit 2fa89eca authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

Install pip if pip is not present

parent e0bf4bcc
# easy_install module for ansible version on debian 8 cannot upgrade package # first install pip with easy_install if pip is not present on the system
# we cannot use the python-pip package as it is too old in many OS
- name: Register pip installation status
command: which pip
changed_when: false
failed_when: false
register: pip_installed
- name: Make sure pip is installed
shell: easy_install pip
when: pip_installed|failed
# install module with pip so that on debian 8 we can download the playbook in shacache
- name: Install/Upgrade latest slapos.libnetworkcache - name: Install/Upgrade latest slapos.libnetworkcache
shell: pip install --upgrade slapos.libnetworkcache shell: pip install --upgrade slapos.libnetworkcache
......
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