streamline dnf repo install
This commit is contained in:
4 files changed
+38
-36
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user