Add RedHat support to gh role
This commit is contained in:
parent
8c70ba71c1
commit
3102076b6a
12
roles/gh/tasks/RedHat.yaml
Normal file
12
roles/gh/tasks/RedHat.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user