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.
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.5
Variable | Default | Description |
---|
None
- name: Use diademiemi.github_cli role
hosts: "{{ target | default('github_cli') }}"
roles:
- role: "diademiemi.github_cli"
tags: ['diademiemi', 'github_cli', 'setup']
MIT
- diademiemi (@diademiemi)
This repository comes with Molecule that run in Podman on the supported platforms. Install Molecule by running
pip3 install -r requirements.txt
Run the tests with
molecule test