{"id":14128406,"url":"https://github.com/fubarhouse/ansible-role-python","last_synced_at":"2025-10-26T05:31:03.320Z","repository":{"id":75287050,"uuid":"42650123","full_name":"fubarhouse/ansible-role-python","owner":"fubarhouse","description":"Ansible role which provisions python and pip modules using pyenv","archived":false,"fork":false,"pushed_at":"2018-07-26T10:02:22.000Z","size":172,"stargazers_count":7,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-16T16:22:32.350Z","etag":null,"topics":["ansible","python"],"latest_commit_sha":null,"homepage":"","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/fubarhouse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2015-09-17T10:31:58.000Z","updated_at":"2022-01-29T23:00:52.000Z","dependencies_parsed_at":"2023-06-06T01:00:09.135Z","dependency_job_id":null,"html_url":"https://github.com/fubarhouse/ansible-role-python","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fubarhouse%2Fansible-role-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fubarhouse%2Fansible-role-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fubarhouse%2Fansible-role-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fubarhouse%2Fansible-role-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fubarhouse","download_url":"https://codeload.github.com/fubarhouse/ansible-role-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219863857,"owners_count":16555943,"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","python"],"created_at":"2024-08-15T16:01:41.050Z","updated_at":"2025-10-26T05:30:58.012Z","avatar_url":"https://github.com/fubarhouse.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Ansible Role: Python\n\n[![Build Status](https://img.shields.io/travis/fubarhouse/ansible-role-python/master.svg?style=for-the-badge)](https://travis-ci.org/fubarhouse/ansible-role-python)\n[![stability-stable](https://img.shields.io/badge/stability-stable-green.svg?style=for-the-badge)](https://github.com/orangemug/stability-badges)\n[![Ansible Galaxy](https://img.shields.io/ansible/role/5140.svg?style=for-the-badge)](https://galaxy.ansible.com/fubarhouse/python)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)](https://raw.githubusercontent.com/fubarhouse/ansible-role-hub/master/LICENSE)\n\n* PyEnv on CentOS/Darwin/Debian/RedHat servers.\n* Installs multiple python versions as required.\n* Installs a virtualenv for a specified version of Python.\n* Installs PIP packages\n\n## Requirements\n\n  None.\n\n## Role Variables\n\nDefault Python version\n````\npython_version: 2.7.15\n````\nAll Python versions to install\n````\npython_versions:\n- 2.7.15\n- 3.5.1\n````\nPython packages to download\n````\npython_packages:\n- pyyaml\n- jinja2\n- virtualenv\n- pyasn1\n- Django\n````\nList of all virtualenvs to install\n\n**Note**: If this is not specified, the variable `python_version` will be allocated to this array.\n````\nvirtualenvs:\n- name: \"Global-2.7.15\"\n  version: 2.7.15\n````\nVirtualenvs to use as the global python system\n\n**Note**: If this is not specified, the variable `python_version` will be allocated to this variable.\n````\nvirtualenv: 2.7.15\n````\n## Dependencies\n\nNone.\n\n## Example Playbook\n````\n- hosts: localhost\n  roles:\n    - fubarhouse.python\n````\n\n## Installation\n\n* Install using `ansible-galaxy install fubarhouse.python`\n* Add the Python role to your playbook.\n* Modify above variables as desired.\n\n## License\n\nMIT / BSD\n\n## Author Information\n\nThis role was created in 2015 by [Karl Hepworth](https://twitter.com/fubarhouse).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffubarhouse%2Fansible-role-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffubarhouse%2Fansible-role-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffubarhouse%2Fansible-role-python/lists"}