don't forcefully install pip/pip3 from the role

This commit is contained in:
Raphaël Droz 2018-11-26 11:33:00 -03:00
parent 823fa52f31
commit ccac6916c7

View File

@ -1,12 +1,4 @@
--- ---
- name: Install pip
package: name=python-pip state=present
when: certbot_install == 'pip'
- name: Install pip3
package: name=python3-pip state=present
when: certbot_install == 'pip3'
- name: Install Certbot. - name: Install Certbot.
pip: name="{{ certbot_package }}" state=present executable="{{ certbot_install }}" pip: name="{{ certbot_package }}" state=present executable="{{ certbot_install }}"