Skip to content

Commit 3f534c8

Browse files
author
Edvin Norling
committed
Add az cli install
1 parent 16727eb commit 3f534c8

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

ansible/roles/laptop/tasks/setup-RedHat.yml

+14
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,20 @@
3131
gpgcheck: true
3232
gpgkey: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
3333

34+
# Install codium aka vscode oss repo
35+
- name: az gpg
36+
rpm_key:
37+
key: https://packages.microsoft.com/keys/microsoft.asc
38+
state: present
39+
40+
- name: az cli repo
41+
yum_repository:
42+
name: az.repo
43+
description: az cli
44+
baseurl: https://packages.microsoft.com/yumrepos/azure-cli
45+
gpgcheck: true
46+
gpgkey: https://packages.microsoft.com/keys/microsoft.asc
47+
3448
# Install packages
3549
- name: Install packages
3650
dnf:

ansible/roles/laptop/vars/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ fedoraPackages:
1616
- termite
1717
- golang
1818
- podman-docker # it's a simple alias for docker
19+
- azure-cli
1920

2021
flatpacks:
2122
- com.slack.Slack

0 commit comments

Comments
 (0)