configs/roles/common/tasks/packages.yml

138 lines
3.1 KiB
YAML
Raw Normal View History

2022-01-23 21:43:00 -05:00
---
2022-07-04 13:18:53 -04:00
# Package management (Fedora, dnf & flatpak)
2022-01-23 21:43:00 -05:00
- name: Install essential packages
package:
name:
- git
2022-01-23 21:43:00 -05:00
- htop
- neovim # editor
2022-07-04 13:18:53 -04:00
- stow # dotfiles
2022-01-23 21:43:00 -05:00
- tmux
- util-linux-user
2022-07-04 13:18:53 -04:00
- zsh # shell
2022-01-26 18:01:41 -05:00
state: present
# Configure repos that will need to be available
- name: Enable the RPM Fusion repository
dnf:
name:
2022-01-26 18:01:41 -05:00
- 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
2022-07-04 13:18:53 -04:00
#- name: Add repos for Google Chrome
# import_tasks: packages/google-chrome.yml
2022-01-23 21:43:00 -05:00
2022-07-04 13:18:53 -04:00
#- name: Add repos for VSCodium
# import_tasks: packages/vscodium.yml
2022-03-02 11:03:58 -05:00
- name: Add repos for tailscale
import_tasks: packages/tailscale.yml
- name: Install development packages
package:
name:
- '@Development tools'
# Editors (more)
- emacs
2022-02-05 15:17:13 -05:00
# - unmet dependencies for emacs-everywhere
2022-07-04 13:18:53 -04:00
# - xdotool
# - xwininfo
# Utilities
2022-01-28 12:44:25 -05:00
- bat
2022-07-05 22:06:25 -04:00
- cmake
- direnv
- exa
- fd-find
- fzf
- git-email
- git-publish
2022-07-04 13:18:53 -04:00
# - isync
2022-03-04 08:40:51 -05:00
- libtool # vterm
2022-07-04 13:18:53 -04:00
# - msmtp
# - rclone
- ripgrep
- ShellCheck
2022-07-04 13:18:53 -04:00
# - sharutils
2022-03-02 11:03:58 -05:00
- tailscale
2022-07-04 13:18:53 -04:00
- toolbox
- zoxide
2022-07-04 13:18:53 -04:00
# ansible: should already be available
- ansible
2022-01-26 18:01:41 -05:00
- ansible-lint
2022-02-02 23:11:29 -05:00
# rpm
- fedpkg
- mock
- rpmdevtools
2022-01-26 18:01:41 -05:00
state: present
2022-07-04 13:18:53 -04:00
- name: Install packages for graphical systems
2022-07-04 13:37:06 -04:00
package:
name:
2022-07-04 13:18:53 -04:00
# fonts
- jetbrains-mono-fonts-all
- fira-code-fonts
- alacritty
# ...
2022-07-05 22:06:25 -04:00
- gnome-tweaks
2022-07-04 13:18:53 -04:00
- pinentry-gnome3 # kde, gpg cache password
- seahorse
- xclip
2022-07-04 13:36:11 -04:00
state: present
2022-07-04 13:49:30 -04:00
when: ansible_facts['hostname'] == "tycho"
2022-07-04 13:18:53 -04:00
# 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
2022-01-23 21:43:00 -05:00
2022-01-28 23:35:37 -05:00
#- name: Install zoom
# import_tasks: packages/zoom.yml
2022-07-04 13:18:53 -04:00
#- name: Install veracrypt
# import_tasks: packages/veracrypt.yml
2022-01-28 15:03:50 -05:00
- name: Configure flatpak flathub remote
2022-07-04 13:46:15 -04:00
flatpak_remote:
name: flathub
flatpakrepo_url: https://flathub.org/repo/flathub.flatpakrepo
state: present
2022-07-04 13:18:53 -04:00
when: ansible_facts['hostname'] == "tycho"
2022-07-04 13:18:53 -04:00
# - 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