geerlingguy / ansible-role-pip

Ansible Role - Pip (for Python)

Home Page:https://galaxy.ansible.com/geerlingguy/pip/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install pip3 on python3

DidelotK opened this issue · comments

Is it possible to add a configuration variable in order to install pip3 instead of pip ?

Something like that

- name: Ensure Pip is installed.
  package: name="{{ 'python3-pip' if python_version == 3 else 'python-pip' }}" state=present

And... I need this feature tonight too :)