configs/roles/common/tasks/packages.yml

138 lines
3.1 KiB
YAML

---
# Package management (Fedora, dnf & flatpak)
- name: Install essential packages
package:
name:
- git
- htop
- neovim # editor
- stow # dotfiles
- tmux
- util-linux-user
- zsh # shell
state: present
# Configure repos that will need to be available
- name: Enable the RPM Fusion repository
dnf:
name:
- https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ ansible_distribution_major_version }}.noarch.rpm
- https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ ansible_distribution_major_version }}.noarch.rpm
disable_gpg_check: yes
state: present
#- name: Add repos for Google Chrome
# import_tasks: packages/google-chrome.yml
#- name: Add repos for VSCodium
# import_tasks: packages/vscodium.yml
- name: Add repos for tailscale
import_tasks: packages/tailscale.yml
- name: Install development packages
package:
name:
- '@Development tools'
# Editors (more)
- emacs
# - unmet dependencies for emacs-everywhere
# - xdotool
# - xwininfo
# Utilities
- bat
- cmake
- direnv
- exa
- fd-find
- fzf
- git-email
- git-publish
# - isync
- libtool # vterm
# - msmtp
# - rclone
- ripgrep
- ShellCheck
# - sharutils
- tailscale
- toolbox
- zoxide
# ansible: should already be available
- ansible
- ansible-lint
# rpm
- fedpkg
- mock
- rpmdevtools
state: present
- name: Install packages for graphical systems
package:
name:
# fonts
- jetbrains-mono-fonts-all
- fira-code-fonts
- alacritty
# ...
- gnome-tweaks
- pinentry-gnome3 # kde, gpg cache password
- seahorse
- xclip
state: present
when: ansible_facts['hostname'] == "tycho"
# KDE
# - kio-gdrive # dolphin, google drive
# - krename
# - ksysguard
# ...
# - audacity
# - calibre
# - discord
# - easytag
# - ffmpeg
# - firefox
# - mpv
# - mpv-mpris
# - nextcloud-client
# - pavucontrol
# - playerctl
# - rclone-browser
# - thunderbird
# - qbittorrent
# - VirtualBox
# - xrandr
#- name: Install zoom
# import_tasks: packages/zoom.yml
#- name: Install veracrypt
# import_tasks: packages/veracrypt.yml
- name: Configure flatpak flathub remote
flatpak_remote:
name: flathub
flatpakrepo_url: https://flathub.org/repo/flathub.flatpakrepo
state: present
when: ansible_facts['hostname'] == "tycho"
# - name: Install flatpaks
# community.general.flatpak:
# name:
# - com.github.bleakgrey.tootle
# - com.github.iwalton3.jellyfin-media-player
# - com.github.tchx84.Flatseal
# - com.obsproject.Studio
# - com.sindresorhus.Caprine
# - com.spotify.Client
# - com.todoist.Todoist
# - fi.skyjake.Lagrange
# - md.obsidian.Obsidian
# - net.ankiweb.Anki
# - net.cozic.joplin_desktop
# - org.kde.kdenlive
# - us.zoom.Zoom
# state: present