{"id":19892602,"url":"https://github.com/compscidr/ansible-github-cli","last_synced_at":"2026-04-21T12:33:08.760Z","repository":{"id":243108958,"uuid":"811494033","full_name":"compscidr/ansible-github-cli","owner":"compscidr","description":"Roles for installing github cli and extensions via ansible","archived":false,"fork":false,"pushed_at":"2026-03-16T00:53:10.000Z","size":86,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-16T11:48:25.402Z","etag":null,"topics":["ansible","extensions","gh","github-cli","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"YAML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/compscidr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-06T17:48:27.000Z","updated_at":"2026-03-16T00:52:56.000Z","dependencies_parsed_at":"2024-11-12T18:25:03.850Z","dependency_job_id":"56886825-d5b7-40b3-836f-ed3cb98e0d9c","html_url":"https://github.com/compscidr/ansible-github-cli","commit_stats":null,"previous_names":["compscidr/ansible-github-cli"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/compscidr/ansible-github-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compscidr%2Fansible-github-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compscidr%2Fansible-github-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compscidr%2Fansible-github-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compscidr%2Fansible-github-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/compscidr","download_url":"https://codeload.github.com/compscidr/ansible-github-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compscidr%2Fansible-github-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32091887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","extensions","gh","github-cli","ubuntu"],"created_at":"2024-11-12T18:24:24.130Z","updated_at":"2026-04-21T12:33:08.524Z","avatar_url":"https://github.com/compscidr.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-github-cli\n[![Static Badge](https://img.shields.io/badge/Ansible_galaxy-Download-blue)](https://galaxy.ansible.com/ui/repo/published/compscidr/github_cli/)\n[![ansible lint](https://github.com/compscidr/ansible-github-cli/actions/workflows/check.yml/badge.svg)](https://github.com/compscidr/ansible-github-cli/actions/workflows/check.yml)\n[![ansible lint rules](https://img.shields.io/badge/Ansible--lint-rules%20table-blue.svg)](https://ansible.readthedocs.io/projects/lint/rules/)\n\nA collection of roles to:\n- install github cli\n- install gh extensions\n\n## Usage\nAdd the collection to your meta/requirements.yml:\n```\ncollections:\n  - name: compscidr.github_cli\n    version: \"\u003cinsert version here\u003e\"\n```\n\nInstall the collection:\n```\nansible-galaxy install -r meta/requirements.yml\n```\n\nUse in a playbook:\n```\n- name: Install GH cli and extensions\n  hosts: *\n  roles:\n    - role: compscidr.github_cli.github_cli\n      vars:\n        github_cli_gh_token: \"insert your gh token\"\n        github_cli_user: \"insert your username\"\n    - role: compscidr.github_cli.github_cli_extension\n      vars:\n        github_cli_extension: \"dlvhdr/gh-dash\"\n    - role: compscidr.github_cli.github_cli_extension\n      vars:\n        github_cli_extension: \"some other extension\"\n```\n\n## Variables\nVariable                                | Description\n--------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\ngithub_cli_gh_token                     | The GH API token that allows for reading / writing to repos\ngithub_cli_user                         | The user to add the GH_TOKEN as env variable for (will append to .bashrc file)\ngithub_cli_extension                    | The extension to install\n\n## Local development and testing\nSo that you don't need to push and make a release every time:\n```\nansible-galaxy collection build --force\nansible-galaxy collection install *tar.gz --force\n```\n\n## Testing molecule locally\nInside the ansible directory:\n```\npython -m venv venv\n. venv/bin/activate\npip install molecule molecule-docker passlib\nmolecule test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompscidr%2Fansible-github-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompscidr%2Fansible-github-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompscidr%2Fansible-github-cli/lists"}