Skip to content
Snippets Groups Projects
Commit 47126ff4 authored by Robert Konicar's avatar Robert Konicar
Browse files

ansible: Add github cli.

parent 431981d2
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
llvm10_state: absent llvm10_state: absent
llvm11_state: present llvm11_state: present
llvm12_state: present llvm12_state: present
gh_cli_state: present
postgres_client: true postgres_client: true
nftables: nftables:
pds_local: true pds_local: true
...@@ -32,6 +33,9 @@ ...@@ -32,6 +33,9 @@
- import_role: - import_role:
name: llvm_deb name: llvm_deb
- import_role:
name: gh_deb
- import_role: - import_role:
name: pds_deb name: pds_deb
......
gh_cli_state: absent
- name: "GitHub CLI repostiory key"
ansible.builtin.apt_key:
id: 23F3D4EA75716059
url: https://cli.github.com/packages/githubcli-archive-keyring.gpg
state: "{{gh_cli_state}}"
- name: "GitHub CLI repository"
apt_repository:
repo: deb https://cli.github.com/packages stable main
filename: ghcli
state: "{{gh_cli_state}}"
- name: "GitHub CLI tools {{gh_cli_state}}"
apt:
default_release: stable
pkg:
- gh
state: "{{gh_cli_state}}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment