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 - desktop
- system - system
- role: system/i18n
tags:
- desktop
- role: system/external_backup - role: system/external_backup
tags: tags:
- base
- desktop
- system - system
- role: system/flatpak - role: system/flatpak
tags: tags:
- desktop
- system - system
- desktop
- flatpak - flatpak
tasks: 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 - name: Install layered packages
community.general.rpm_ostree_pkg: community.general.rpm_ostree_pkg:
name: name:
@ -34,4 +47,11 @@
- gnome-boxes - gnome-boxes
- kitty - kitty
- openssl - openssl
# This is not a part of the base repos.
- opentabletdriver
- lazygit
state: present state: present
tags:
- base
- system

View File

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