streamline dnf repo install

This commit is contained in:
kevinnlsamuel committed 2026-10-01 00:33:47 +05:30
1 parent 1843173e25
commit e7f0d5e453
4 files changed
+38 -36

No files matched your search

+17 -36
View File
@@ -58,44 +58,25 @@
dest: /usr/local/bin/
src: https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_linux_amd64.zip
- name: install google-chrome dnf repository
become: true
copy:
dest: /etc/yum.repos.d/google-chrome.repo
content: |
[google-chrome]
name=google-chrome
baseurl=https://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
- name: install dnf repos
include_role:
role: installdnfrepo
loop:
- id: googlechrome
baseurl: https://dl.google.com/linux/chrome/rpm/stable/x86_64
gpgkey: https://dl.google.com/linux/linux_signing_key.pub
- name: install wayscriber dnf repository
become: true
copy:
dest: /etc/yum.repos.d/waysriber.repo
content: |
[wayscriber]
name=Wayscriber
baseurl=https://wayscriber.com/rpm
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://wayscriber.com/rpm/RPM-GPG-KEY-wayscriber.asc
- id: wayscriber
baseurl: https://wayscriber.com/rpm
gpgkey: https://wayscriber.com/rpm/RPM-GPG-KEY-wayscriber.asc
- name: install tailscale dnf repository
become: true
copy:
dest: /etc/yum.repos.d/tailscale.repo
content: |
[tailscale]
name=Tailscale
baseurl=https://pkgs.tailscale.com/stable/fedora/$basearch
enabled=1
type=rpm
repo_gpgcheck=1
gpgcheck=1
gpgkey=https://pkgs.tailscale.com/stable/fedora/repo.gpg
- id: tailscale
baseurl: https://pkgs.tailscale.com/stable/fedora/$basearch
gpgkey: https://pkgs.tailscale.com/stable/fedora/repo.gpg
- id: charmcli
baseurl: https://repo.charm.sh/yum/
gpgkey: https://repo.charm.sh/yum/gpg.key
- name: install dnf packages
become: true