Add RedHat support to gh role

This commit is contained in:
Kenneth Benzie 2023-05-31 22:31:50 +01:00
parent 8c70ba71c1
commit 3102076b6a

View File

@ -0,0 +1,12 @@
---
- name: add yum repository
become: true
get_url:
url: https://cli.github.com/packages/rpm/gh-cli.repo
dest: /etc/yum.repos.d/gh-cli.repo
- name: install dnf package
become: true
dnf:
name: gh
state: latest