playbooks: update Fedora playbooks

This commit is contained in:
Gabriel Arazas 2022-05-27 15:34:15 +08:00
parent ca741810ea
commit c071b3f2d0
2 changed files with 58 additions and 7 deletions

View File

@ -12,19 +12,32 @@
- desktop
- system
- role: system/i18n
tags:
- desktop
- role: system/external_backup
tags:
- base
- desktop
- system
- role: system/flatpak
tags:
- desktop
- system
- desktop
- flatpak
tasks:
- name: Install various third-party repos
ansible.builtin.get_url:
url: "{{ item }}"
dest: /etc/yum.repos.d
loop:
- "https://copr.fedorainfracloud.org/coprs/cappyishihara/opentabletdriver/repo/fedora-36/cappyishihara-opentabletdriver-fedora-36.repo"
- "https://copr.fedorainfracloud.org/coprs/atim/lazygit/repo/fedora-36/atim-lazygit-fedora-36.repo"
tags:
- base
- system
- name: Install layered packages
community.general.rpm_ostree_pkg:
name:
@ -34,4 +47,11 @@
- gnome-boxes
- kitty
- openssl
# This is not a part of the base repos.
- opentabletdriver
- lazygit
state: present
tags:
- base
- system

View File

@ -14,27 +14,40 @@
- base
- dev
- system
- role: system/i18n
tags:
- base
- extra
- i18n
- role: system/fonts
tags:
- base
- system
- i18n
- role: system/gnome
tags:
- base
- system
- desktop
- role: system/flatpak
tags:
- desktop
- system
- flatpak
- role: system/external_backup
tags:
- system
- setup
- backup
- role: apps/emacs
tags:
- apps
- emacs
tasks:
- name: Enable copr repositories
@ -44,8 +57,10 @@
loop:
- cappyishihara/opentabletdriver
- atim/lazygit
- fale/gopass
- peterwu/iosevka
tags:
- base
- system
# Package installations.
- name: Install packages from enabled copr repositories
@ -54,12 +69,14 @@
name:
- lazygit
- opentabletdriver
- golang-github-gopasspw-gopass
- iosevka-fonts
- iosevka-curly-fonts
- iosevka-curly-slab-fonts
- iosevka-slab-fonts
- iosevka-etoile-fonts
tags:
- base
- system
- name: Install RPM development tools
dnf:
@ -75,6 +92,8 @@
- thunderbird
- chromium
- firefox
tags:
- desktop
- name: Install Fedora COPR dev't tools
dnf:
@ -83,11 +102,23 @@
- copr-cli
- dnf-plugins-core
- name: Install the extensions
dnf:
state: present
name:
- nautilus-gsconnect
- gnome-shell-extension-gsconnect
- gnome-shell-extension-appindicator
- gnome-shell-extension-caffeine
- gnome-shell-extension-just-perfection
- gnome-shell-extension-windowsNavigator
tags:
- desktop
- name: Install Ansible
dnf:
state: present
name:
- ansible
- ansible-doc
- ansible-collection-community-general
- python3-psutil