{"repo":"geerlingguy/ansible-role-pip","free":true,"listed":false,"github":"https://github.com/geerlingguy/ansible-role-pip","clone":"git clone https://github.com/geerlingguy/ansible-role-pip.git","description":"Ansible Role - Pip (for Python)","language":null,"stars":221,"topics":["ansible","role","galaxy","python","pip","packaging","package-manager"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Ansible Role: Pip (for Python) An Ansible Role that installs Pip on Linux. Requirements On RedHat/CentOS, you may need to have EPEL installed before running this role. You can use the geerlingguy.repo-epel role if you need a simple way to ensure it's installed. Role Variables Available variables are listed below, along with default values (see defaults/main.yml ): pip package: python3-pip The name of the package to install to get pip on the system. For older systems that don't have Python 3 available, you can set this to python-pip . pip executable: pip3 The role will try to autodetect the pip executable based on the pip package (e.g. pip for Python 2 and pip3 for Python 3). You can also override this explicitly, e.g. pip executable: pip3.6 . pip install packages: [] A list of packages to install with pip. Examples below: pip install packages: # Specify names and versions. - name: docker version: \"1.2.3\" - name: awscli version: \"1.11.91\" # Or specify bare packages to get the latest release. - docker - awscli # Or uninstall a package. - name: docker state: absent # Or update a package to the latest version. - name: docker state: latest # Or force a reinstall. - name: docker state: forcereinstall # Or install a package in a particular virtualenv. - name: docker virtualenv: /my app/venv # Or pass through any extra arguments. - name: my special package from my special repo extra args: --extra-index-url https://my-domain/pypi/pypi-master/simple Dependencies None. Example Playbook ","default_branch":null,"files":null,"tree":[],"storefront":"/r/geerlingguy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/geerlingguy/ansible-role-pip/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}