Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x86-39/ansible_role_github_cli
Ansible role to install GitHub CLI
https://github.com/x86-39/ansible_role_github_cli
Last synced: about 4 hours ago
JSON representation
Ansible role to install GitHub CLI
- Host: GitHub
- URL: https://github.com/x86-39/ansible_role_github_cli
- Owner: x86-39
- License: mit
- Created: 2023-05-05T16:22:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-07T11:28:39.000Z (6 months ago)
- Last Synced: 2024-11-08T10:54:51.330Z (11 days ago)
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible Role GitHub CLI
=========[![Molecule Test](https://github.com/diademiemi/ansible_role_github_cli/actions/workflows/molecule.yml/badge.svg)](https://github.com/diademiemi/ansible_role_github_cli/actions/workflows/molecule.yml)
This is an Ansible role to install and configure github_cli.
This role uses the GitHub CLI mirrors to install the packages on supported platforms, it does need any variables to be set.
Requirements
------------
These platforms are supported:
- Ubuntu 20.04
- Ubuntu 22.04
- Debian 11
- Debian 12
- EL 8 (Tested on Rocky Linux 8)
- EL 9 (Tested on Rocky Linux 9)
- Fedora 40
- openSUSE Leap 15.5Role Variables
--------------Variable | Default | Description
--- | --- | ---Dependencies
------------None
Example Playbook
----------------```yaml
- name: Use diademiemi.github_cli role
hosts: "{{ target | default('github_cli') }}"
roles:
- role: "diademiemi.github_cli"
tags: ['diademiemi', 'github_cli', 'setup']```
License
-------MIT
Author Information
------------------- diademiemi (@diademiemi)
Role Testing
------------This repository comes with Molecule that run in Podman on the supported platforms.
Install Molecule by running```bash
pip3 install -r requirements.txt
```Run the tests with
```bash
molecule test
```