Update post-install playbook

This commit is contained in:
Gabriel Arazas 2022-03-15 18:05:43 +08:00
parent 234de5f873
commit 6930f67e59

View File

@ -1,7 +1,8 @@
- hosts: localhost - hosts: localhost
become: yes
become_user: root
tasks: tasks:
- name: Install Flatpak development tools - name: Install Flatpak development tools
become: yes
dnf: dnf:
state: present state: present
name: name:
@ -35,34 +36,40 @@
# Enable several copr repositories. # Enable several copr repositories.
- name: Enable opentabletdriver from copr - name: Enable opentabletdriver from copr
become: yes
community.general.copr: community.general.copr:
state: enabled state: enabled
name: cappyishihara/opentabletdriver name: cappyishihara/opentabletdriver
- name: Enable lazygit from copr - name: Enable lazygit from copr
become: yes
community.general.copr: community.general.copr:
state: enabled state: enabled
name: atim/lazygit name: atim/lazygit
- name: Enable gopass from copr - name: Enable gopass from copr
become: yes
community.general.copr: community.general.copr:
state: enabled state: enabled
name: fale/gopass name: fale/gopass
- name: Enable Iosevka from copr
community.general.copr:
state: enabled
name: peterwu/iosevka
# Package installations.
- name: Install packages from enabled copr repositories - name: Install packages from enabled copr repositories
become: yes
dnf: dnf:
state: present state: present
name: name:
- lazygit - lazygit
- opentabletdriver - opentabletdriver
- golang-github-gopasspw-gopass - golang-github-gopasspw-gopass
- iosevka-fonts
- iosevka-curly-fonts
- iosevka-curly-slab-fonts
- iosevka-slab-fonts
- iosevka-etoile-fonts
- name: Set minimal development environment - name: Set minimal development environment
become: yes
dnf: dnf:
state: present state: present
name: name:
@ -76,7 +83,6 @@
- man-pages - man-pages
- name: Install additional development tools - name: Install additional development tools
become: yes
dnf: dnf:
state: present state: present
name: name:
@ -89,8 +95,14 @@
- zoxide - zoxide
- direnv - direnv
- name: Install RPM development tools
dnf:
state: present
name:
- rpm-build
- go-rpm-macros
- name: Setup container development tools - name: Setup container development tools
become: yes
dnf: dnf:
state: present state: present
name: name:
@ -99,7 +111,6 @@
- openssl - openssl
- name: Install backup tools - name: Install backup tools
become: yes
dnf: dnf:
state: present state: present
name: name:
@ -107,7 +118,6 @@
- borgmatic - borgmatic
- name: Install (Doom) Emacs with its required dependencies - name: Install (Doom) Emacs with its required dependencies
become: yes
dnf: dnf:
state: present state: present
name: name:
@ -119,7 +129,6 @@
- zstd - zstd
- name: Install web-related tools - name: Install web-related tools
become: yes
dnf: dnf:
state: present state: present
name: name:
@ -128,10 +137,10 @@
- firefox - firefox
- name: Install extra dependencies - name: Install extra dependencies
become: yes
dnf: dnf:
state: present state: present
name: name:
- editorconfig
- ImageMagick - ImageMagick
- ImageMagick-doc - ImageMagick-doc
- ImageMagick-libs - ImageMagick-libs
@ -143,15 +152,27 @@
- starship - starship
- name: Install Fedora COPR dev't tools - name: Install Fedora COPR dev't tools
become: yes
dnf: dnf:
state: present state: present
name: name:
- copr-cli - copr-cli
- dnf-plugins-core - dnf-plugins-core
- name: Install i18n tools
dnf:
state: present
name:
- fcitx5
- fcitx5-configtool
- fcitx5-gtk4
- fcitx5-lua
- fcitx5-mozc
- fcitx5-rime
- librime
- librime-tools
- mozc
- name: Install Ansible - name: Install Ansible
become: yes
dnf: dnf:
state: present state: present
name: name:
@ -161,145 +182,128 @@
- python3-psutil - python3-psutil
- name: Install fonts - name: Install fonts
become: yes
dnf: dnf:
state: present state: present
name: name:
- google-noto-serif-fonts - adobe-source-code-pro-fonts
- google-noto-sans-fonts - adobe-source-sans-pro-fonts
- adobe-source-serif-pro-fonts
- google-noto-cjk-fonts - google-noto-cjk-fonts
- google-noto-cjk-fonts-common - google-noto-cjk-fonts-common
- google-noto-emoji-fonts - google-noto-emoji-fonts
- google-noto-sans-fonts
- google-noto-serif-fonts
# Install applications from Flatpak # Install applications from Flatpak
- name: Install Zrythm, a DAW - name: Install Zrythm, a DAW
become: yes
flatpak: flatpak:
state: present state: present
name: org.zrythm.Zrythm name: org.zrythm.Zrythm
remote: flathub remote: flathub
- name: Install Krita - name: Install Krita
become: yes
flatpak: flatpak:
state: present state: present
name: org.kde.krita name: org.kde.krita
remote: flathub remote: flathub
- name: Install Krita nightly - name: Install Krita nightly
become: yes
flatpak: flatpak:
state: present state: present
name: org.kde.krita-nightly name: org.kde.krita-nightly
remote: kdeapps remote: kdeapps
- name: Install Junction, an application launcher - name: Install Junction, an application launcher
become: yes
flatpak: flatpak:
state: present state: present
name: re.sonny.Junction name: re.sonny.Junction
remote: flathub remote: flathub
- name: Install Tangram, a browser - name: Install Tangram, a browser
become: yes
flatpak: flatpak:
state: present state: present
name: re.sonny.Tangram name: re.sonny.Tangram
remote: flathub remote: flathub
- name: Install Blender, a 3D modelling software - name: Install Blender, a 3D modelling software
become: yes
flatpak: flatpak:
state: present state: present
name: org.blender.Blender name: org.blender.Blender
remote: flathub remote: flathub
- name: Install Lutris - name: Install Lutris
become: yes
flatpak: flatpak:
state: present state: present
name: net.lutris.Lutris name: net.lutris.Lutris
remote: flathub-beta remote: flathub-beta
- name: Install Steam - name: Install Steam
become: yes
flatpak: flatpak:
state: present state: present
name: com.valvesoftware.Steam name: com.valvesoftware.Steam
remote: flathub remote: flathub
- name: Install Emulsion, a color palette manager - name: Install Emulsion, a color palette manager
become: yes
flatpak: flatpak:
state: present state: present
name: io.github.lainsce.Emulsion name: io.github.lainsce.Emulsion
remote: flathub remote: flathub
- name: Install Inkscape, an alternative to Adobe Illustrator - name: Install Inkscape, an alternative to Adobe Illustrator
become: yes
flatpak: flatpak:
state: present state: present
name: org.inkscape.Inkscape name: org.inkscape.Inkscape
remote: flathub remote: flathub
- name: Install OBS Studio, the Swiss army knife for screencasts - name: Install OBS Studio, the Swiss army knife for screencasts
become: yes
flatpak: flatpak:
state: present state: present
name: com.obsproject.Studio name: com.obsproject.Studio
remote: flathub remote: flathub
- name: Install Flatseal, a Flatpak app permissions manager - name: Install Flatseal, a Flatpak app permissions manager
become: yes
flatpak: flatpak:
state: present state: present
name: com.github.tchx84.Flatseal name: com.github.tchx84.Flatseal
remote: flathub remote: flathub
- name: Install Helvum, a Patchbay-like app - name: Install Helvum, a Patchbay-like app
become: yes
flatpak: flatpak:
state: present state: present
name: org.pipewire.Helvum name: org.pipewire.Helvum
remote: flathub remote: flathub
- name: Install EasyEffects, an audio effects app - name: Install EasyEffects, an audio effects app
become: yes
flatpak: flatpak:
state: present state: present
name: com.github.wwmm.easyeffects name: com.github.wwmm.easyeffects
remote: flathub remote: flathub
- name: Install 0 A.D., a RTS game - name: Install 0 A.D., a RTS game
become: yes
flatpak: flatpak:
state: present state: present
name: com.play0ad.zeroad name: com.play0ad.zeroad
remote: flathub remote: flathub
- name: Install Remnants of the Precursors, a 4X game - name: Install Remnants of the Precursors, a 4X game
become: yes
flatpak: flatpak:
state: present state: present
name: com.remnantsoftheprecursors.ROTP name: com.remnantsoftheprecursors.ROTP
remote: flathub remote: flathub
- name: Install Musescore, a music composition software - name: Install Musescore, a music composition software
become: yes
flatpak: flatpak:
state: present state: present
name: org.musescore.MuseScore name: org.musescore.MuseScore
remote: flathub remote: flathub
- name: Install Bottles, a Windows app runner - name: Install Bottles, a Windows app runner
become: yes
flatpak: flatpak:
state: present state: present
name: com.usebottles.bottles name: com.usebottles.bottles
remote: flathub remote: flathub
- name: Install GIMP (nightly), a photo editor - name: Install GIMP (nightly), a photo editor
become: yes
flatpak: flatpak:
state: present state: present
name: org.gimp.GIMP name: org.gimp.GIMP
@ -307,13 +311,11 @@
# Configure desktop environment. # Configure desktop environment.
- name: Install dconf keyfiles - name: Install dconf keyfiles
become: yes
copy: copy:
src: ./files/dconf src: ./files/dconf/
dest: /etc/dconf/db/a-happy-gnome.d dest: /etc/dconf/db/a-happy-gnome.d
- name: Set 'user' dconf profile with the custom GNOME config - name: Set 'user' dconf profile with the custom GNOME config
become: yes
ansible.builtin.shell: echo "system-db:a-happy-gnome" >> /etc/dconf/profile/user ansible.builtin.shell: echo "system-db:a-happy-gnome" >> /etc/dconf/profile/user
- name: Enable night light in GNOME - name: Enable night light in GNOME