Skip to content

Latest commit

 

History

History
78 lines (58 loc) · 1.63 KB

README.md

File metadata and controls

78 lines (58 loc) · 1.63 KB

Ansible Role GitHub CLI

Molecule Test

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.5

Role Variables

Variable Default Description

Dependencies

None

Example Playbook

- 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

pip3 install -r requirements.txt

Run the tests with

molecule test