ansible-playbooks/playbooks/fedora-workstation.yml
Gabriel Arazas 4af9c46e37 Modularize setting GNOME config into its own role
I see it will be useful for setting to other Linux-based operating
systems.
2022-03-19 12:32:27 +08:00

82 lines
1.7 KiB
YAML

# TODO:
# * Configure GNOME extensions
# * Configure the Fedora host with custom systemd units
# * Custom session variables
---
- name: foo-dogsquared's Fedora workstation
hosts: workstation
become: yes
roles:
- role: system/base
tags:
- dev_minimal
- dev_extra
- flatpak_desktop_apps
- i18n
- fonts
- apps/emacs
tasks:
- name: Install Flatpak development tools
dnf:
state: present
name:
- flatpak
- flatpak-builder
- name: Enable copr repositories
community.general.copr:
state: enabled
name: "{{ item }}"
loop:
- cappyishihara/opentabletdriver
- atim/lazygit
- fale/gopass
- peterwu/iosevka
# Package installations.
- name: Install packages from enabled copr repositories
dnf:
state: present
name:
- lazygit
- opentabletdriver
- golang-github-gopasspw-gopass
- iosevka-fonts
- iosevka-curly-fonts
- iosevka-curly-slab-fonts
- iosevka-slab-fonts
- iosevka-etoile-fonts
- name: Install RPM development tools
dnf:
state: present
name:
- rpm-build
- go-rpm-macros
- name: Install web-related tools
dnf:
state: present
name:
- thunderbird
- chromium
- firefox
- name: Install Fedora COPR dev't tools
dnf:
state: present
name:
- copr-cli
- dnf-plugins-core
- name: Install Ansible
dnf:
state: present
name:
- ansible
- ansible-doc
- ansible-collection-community-general
- python3-psutil