{"id":15878915,"url":"https://github.com/darkwizard242/ansible-role-python3","last_synced_at":"2025-10-12T12:36:40.089Z","repository":{"id":43878653,"uuid":"202420460","full_name":"darkwizard242/ansible-role-python3","owner":"darkwizard242","description":"Ansible role for Python3. Available on Ansible Galaxy.","archived":false,"fork":false,"pushed_at":"2024-07-01T14:40:06.000Z","size":50,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-07T02:42:20.619Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-role","linux","programming-language","python3"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/darkwizard242/python3","language":"Python","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/darkwizard242.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,"publiccode":null,"codemeta":null}},"created_at":"2019-08-14T20:22:04.000Z","updated_at":"2024-07-01T14:39:52.000Z","dependencies_parsed_at":"2022-08-29T23:00:26.450Z","dependency_job_id":null,"html_url":"https://github.com/darkwizard242/ansible-role-python3","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-python3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-python3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-python3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-python3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkwizard242","download_url":"https://codeload.github.com/darkwizard242/ansible-role-python3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221661154,"owners_count":16859488,"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","ansible-galaxy","ansible-role","linux","programming-language","python3"],"created_at":"2024-10-06T02:42:20.830Z","updated_at":"2025-10-12T12:36:35.039Z","avatar_url":"https://github.com/darkwizard242.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![build-test](https://github.com/darkwizard242/ansible-role-python3/workflows/build-and-test/badge.svg?branch=master)](https://github.com/darkwizard242/ansible-role-python3/actions?query=workflow%3Abuild-and-test) [![release](https://github.com/darkwizard242/ansible-role-python3/workflows/release/badge.svg)](https://github.com/darkwizard242/ansible-role-python3/actions?query=workflow%3Arelease) ![Ansible Role](https://img.shields.io/ansible/role/d/darkwizard242/python3) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-python3\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=ansible-role-python3) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-python3\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=ansible-role-python3) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-python3\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=ansible-role-python3) ![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/darkwizard242/ansible-role-python3?label=release) ![GitHub repo size](https://img.shields.io/github/repo-size/darkwizard242/ansible-role-python3?color=orange\u0026style=flat-square)\n\n# Ansible Role: python3\n\nRole to install [python3](https://www.python.org/) package on **Debian/Ubuntu** and **EL** systems. These are the default versions available in repositories and may change based on whatever is available on the default OS repositories.\n\n## Requirements\n\nNone.\n\n## Role Variables\n\nAvailable variables are listed below (located in `defaults/main.yml`):\n\n### Variables list:\n\n```yaml\npython3_app_debian_package: python3\npython3_app_el_package: python3\npython3_desired_state: present\n```\n\n### Variables table:\n\nVariable                   | Description\n-------------------------- | -----------------------------------------------------------------------------------------------------------------------------\npython3_app_debian_package | Defines the app to install on Debian based systems i.e. **python3**\npython3_app_el_package     | Defines the app to install on Enterprise Linux (Redhat/CentOS) systems i.e. **python3**\npython3_desired_state      | Defined to dynamically chose whether to install (i.e. either `present` or `latest`) or uninstall (i.e. `absent`) the package.\n\n## Dependencies\n\nNone\n\n## Example Playbook\n\nFor default behaviour of role (i.e. installation of **python3** package) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.python3\n```\n\nFor customizing behavior of role (i.e. installation of latest **python3** package instead of ensure it is installed ) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.python3\n  vars:\n    python3_desired_state: latest\n```\n\nFor customizing behavior of role (i.e. installation of **python3** package in regards to EL systems) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.python3\n  vars:\n    python3_app_el_package: python3\n```\n\n## License\n\n[MIT](https://github.com/darkwizard242/ansible-role-python3/blob/master/LICENSE)\n\n## Author Information\n\nThis role was created by [Ali Muhammad](https://www.alimuhammad.dev/), a DevOps/CloudOps Engineer who loves to learn and contribute to Open Source community.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-python3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkwizard242%2Fansible-role-python3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-python3/lists"}