{"id":13753638,"url":"https://github.com/geerlingguy/ansible-role-pip","last_synced_at":"2025-04-05T15:10:03.095Z","repository":{"id":21376443,"uuid":"92569787","full_name":"geerlingguy/ansible-role-pip","owner":"geerlingguy","description":"Ansible Role - Pip (for Python)","archived":false,"fork":false,"pushed_at":"2024-07-16T19:23:22.000Z","size":51,"stargazers_count":205,"open_issues_count":4,"forks_count":138,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-10T04:06:31.301Z","etag":null,"topics":["ansible","galaxy","package-manager","packaging","pip","python","role"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/geerlingguy/pip/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geerlingguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"geerlingguy","patreon":"geerlingguy"}},"created_at":"2017-05-27T04:06:38.000Z","updated_at":"2024-09-08T18:20:48.000Z","dependencies_parsed_at":"2023-01-13T21:26:33.472Z","dependency_job_id":"8eb84a8b-9b85-4e24-b70f-fe5804acf19c","html_url":"https://github.com/geerlingguy/ansible-role-pip","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-pip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-pip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-pip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-pip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geerlingguy","download_url":"https://codeload.github.com/geerlingguy/ansible-role-pip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353749,"owners_count":20925329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","galaxy","package-manager","packaging","pip","python","role"],"created_at":"2024-08-03T09:01:26.346Z","updated_at":"2025-04-05T15:10:03.054Z","avatar_url":"https://github.com/geerlingguy.png","language":null,"funding_links":["https://github.com/sponsors/geerlingguy","https://patreon.com/geerlingguy"],"categories":["role"],"sub_categories":[],"readme":"# Ansible Role: Pip (for Python)\n\n[![CI](https://github.com/geerlingguy/ansible-role-pip/actions/workflows/ci.yml/badge.svg)](https://github.com/geerlingguy/ansible-role-pip/actions/workflows/ci.yml)\n\nAn Ansible Role that installs [Pip](https://pip.pypa.io) on Linux.\n\n## Requirements\n\nOn 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.\n\n## Role Variables\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml`):\n\n    pip_package: python3-pip\n\nThe 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`.\n\n    pip_executable: pip3\n\nThe 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`.\n\n    pip_install_packages: []\n\nA list of packages to install with pip. Examples below:\n\n    pip_install_packages:\n      # Specify names and versions.\n      - name: docker\n        version: \"1.2.3\"\n      - name: awscli\n        version: \"1.11.91\"\n    \n      # Or specify bare packages to get the latest release.\n      - docker\n      - awscli\n    \n      # Or uninstall a package.\n      - name: docker\n        state: absent\n    \n      # Or update a package to the latest version.\n      - name: docker\n        state: latest\n    \n      # Or force a reinstall.\n      - name: docker\n        state: forcereinstall\n    \n      # Or install a package in a particular virtualenv.\n      - name: docker\n        virtualenv: /my_app/venv\n\n      # Or pass through any extra arguments.\n      - name: my_special_package_from_my_special_repo\n        extra_args: --extra-index-url https://my-domain/pypi/pypi-master/simple\n\n## Dependencies\n\nNone.\n\n## Example Playbook\n\n    - hosts: all\n    \n      vars:\n        pip_install_packages:\n          - name: docker\n          - name: awscli\n    \n      roles:\n        - geerlingguy.pip\n\n## License\n\nMIT / BSD\n\n## Author Information\n\nThis role was created in 2017 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-pip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeerlingguy%2Fansible-role-pip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-pip/lists"}