An Ansible role to install Pip.
Assumes Debian/Ubuntu or RedHat OS family, and internet connectivity
install_with_script: (Default: no). Instructs the tool to install Pip using the get-pip.py script. Otherwise, the role will use apt-get (Debian) or python's easy_install (Redhat).
pip_url: https://bootstrap.pypa.io/get-pip.py
pip_script: get-pip.py
pip_download_dir: /tmp
- name: Example Playbook
hosts: servers
roles:
- name: Install pip
role: pip
MIT