{"id":15081646,"url":"https://github.com/iancleary/ansible-role-gh","last_synced_at":"2025-10-05T14:31:19.781Z","repository":{"id":161912580,"uuid":"617568240","full_name":"iancleary/ansible-role-gh","owner":"iancleary","description":"Ansible role to install the Github CLI","archived":true,"fork":false,"pushed_at":"2023-07-14T14:45:43.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-26T06:01:17.837Z","etag":null,"topics":["ansible","ansible-roles","gh","github-cli"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/iancleary/gh","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/iancleary.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":["iancleary"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2023-03-22T16:52:15.000Z","updated_at":"2023-07-14T14:45:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"53f0e3de-d53c-4ce9-a856-f5620b682c6f","html_url":"https://github.com/iancleary/ansible-role-gh","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"56dad3b80be5823e188ba3a4c05774f5eff28de1"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iancleary%2Fansible-role-gh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iancleary%2Fansible-role-gh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iancleary%2Fansible-role-gh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iancleary%2Fansible-role-gh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iancleary","download_url":"https://codeload.github.com/iancleary/ansible-role-gh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877015,"owners_count":16554817,"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-roles","gh","github-cli"],"created_at":"2024-09-25T06:00:38.085Z","updated_at":"2025-10-05T14:31:14.468Z","avatar_url":"https://github.com/iancleary.png","language":null,"funding_links":["https://github.com/sponsors/iancleary"],"categories":[],"sub_categories":[],"readme":"ARCHIVED \n\nansible-role-gh\n=========\n\n\u003e This repo is archived. I no longer plan to maintain it.  You are welcome to do anything permitted by the [LICENSE](LICENSE).\n\u003e \n\u003e Why, see this article about [NixOS vs Ansible](https://discourse.nixos.org/t/nixos-vs-ansible/16757/17) for more details\n\n\u003cp align=\"center\"\u003e\n\n\u003ca href=\"https://github.com/iancleary/ansible-role-gh/actions?query=workflow%3Aci\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://github.com/iancleary/ansible-role-gh/workflows/CI/badge.svg\" alt=\"CI workflow status\"\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://github.com/iancleary/ansible-role-gh/actions?query=workflow%3Arelease\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://github.com/iancleary/ansible-role-gh/workflows/Release/badge.svg\" alt=\"Release workflow status\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://galaxy.ansible.com/iancleary/gh\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/ansible--galaxy-iancleary.gh-blue.svg\" alt=\"Ansible Galaxy\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://raw.githubusercontent.com/iancleary/ansible-role-gh/main/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\nThis role installs the [GitHub CLI](https://github.com/cli/cli).\n\n\u003e gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.\n\nRequirements\n------------\n\nThis role has the `github3.py` pip dependency to get the latest release of the GitHub repo.\n\n\u003e `python3 -m pip install github3.py`\n\nSupported and Tested `ansible_os_families`:\n\n* Ubuntu 22.04\n* elementary OS 7\n* Fedora 36\n\n\u003e Pull Requests welcome!\n\nRole Variables\n--------------\n\nA description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.\n\n------------\n\nSpecify the release version to install from GitHub\n\n```yaml\n# gh_version: 1.6.1 # undefined is latest release\n```\n\n------------\n\nSpecify the archicture you which to install on: i.e. `amd64`, `arm64`, `armv6`, or `386` at the time of this writing.\n\n```yaml\ngh_arch: \"amd64\" # used in remote package url\n```\n------------\n\nDependencies\n------------\n\nA list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.\n\n`github3.py` python package\n\nExample Playbook\n----------------\n\nIncluding an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:\n\n```yaml\n- hosts: servers\n  roles:\n    - role: iancleary.gh\n```\n\nLicense\n-------\n\n[MIT](LICENSE)\n\nAuthor Information\n------------------\n\nThis role was created in 2021 by [Ian Cleary](https://iancleary.me).\n\nInspiration for the structure of this repo came from [Jeff Geerling](https://github.com/geerlingguy/ansible-role-nginx).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiancleary%2Fansible-role-gh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiancleary%2Fansible-role-gh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiancleary%2Fansible-role-gh/lists"}