ansible-playbooks/playbooks/fedora-workstation.yml

128 lines
2.5 KiB
YAML
Raw Permalink Normal View History

# TODO:
# * Configure GNOME extensions
# * Configure the Fedora host with custom systemd units
# * Custom session variables
2022-03-19 04:31:09 +00:00
# This is the playbook for a Fedora Workstation post-installation.
---
- name: foo-dogsquared's Fedora workstation
hosts: workstation
become: yes
roles:
- role: system/base
tags:
2022-03-19 04:31:09 +00:00
- base
- dev
- system
2022-05-27 07:34:15 +00:00
2022-03-19 04:31:09 +00:00
- role: system/i18n
tags:
- extra
2022-05-27 07:34:15 +00:00
- i18n
2022-03-19 04:31:09 +00:00
- role: system/fonts
tags:
2022-05-30 04:09:09 +00:00
- desktop
2022-05-27 07:34:15 +00:00
- i18n
- role: system/gnome
tags:
- desktop
2022-03-19 04:31:09 +00:00
- role: system/flatpak
tags:
- desktop
- system
- flatpak
2022-05-27 07:34:15 +00:00
2022-03-19 04:31:09 +00:00
- role: system/external_backup
tags:
- system
- setup
- backup
2022-05-27 07:34:15 +00:00
2022-03-19 04:31:09 +00:00
- role: apps/emacs
tags:
- apps
2022-05-27 07:34:15 +00:00
- emacs
tasks:
- name: Enable copr repositories
community.general.copr:
state: enabled
name: "{{ item }}"
loop:
- cappyishihara/opentabletdriver
- atim/lazygit
- peterwu/iosevka
2022-05-27 07:34:15 +00:00
tags:
- system
2022-05-30 04:09:09 +00:00
- copr
# Package installations.
- name: Install packages from enabled copr repositories
dnf:
state: present
name:
- lazygit
- opentabletdriver
- iosevka-fonts
- iosevka-curly-fonts
- iosevka-curly-slab-fonts
- iosevka-slab-fonts
- iosevka-etoile-fonts
2022-05-27 07:34:15 +00:00
tags:
- system
2022-05-30 04:09:09 +00:00
- copr
- name: Install RPM development tools
dnf:
state: present
name:
- rpm-build
- go-rpm-macros
2022-05-30 04:09:09 +00:00
tags:
- dev
- name: Install web-related tools
dnf:
state: present
name:
- thunderbird
- chromium
- firefox
2022-05-27 07:34:15 +00:00
tags:
- desktop
- name: Install Fedora COPR dev't tools
dnf:
state: present
name:
- copr-cli
- dnf-plugins-core
2022-05-30 04:09:09 +00:00
tags:
- dev
2022-05-27 07:34:15 +00:00
- 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-collection-community-general
- python3-psutil
2022-05-30 04:09:09 +00:00
tags:
- dev