ansible/roles/desktop/tasks/packages.yml

210 lines
5.1 KiB
YAML
Raw Normal View History

#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: Configure system packages
block:
- name: Enable i386 architecture
lineinfile:
dest: /var/lib/dpkg/arch
line: i386
create: yes
- name: Add repo keys from keyserver
apt_key:
keyserver: 'keyserver.ubuntu.com'
id: "{{ item }}"
loop:
- "3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" # Monodevelop
- name: Add repo keys by URL
apt_key:
url: "{{ item }}"
loop:
- "https://packages.riot.im/debian/riot-im-archive-keyring.gpg" # Element
- name: Add repos
apt_repository:
repo: "{{ item }}"
loop:
# Monodevelop
- "deb https://download.mono-project.com/repo/ubuntu vs-bionic main"
# Element
- "deb https://packages.riot.im/debian/ default main"
2020-07-08 09:06:29 -05:00
# First-party PPAs
- "ppa:phoerious/keepassxc" # KeepassXC
# Third-party PPAs
- "ppa:drewwalton19216801/dolphin-master-cosmic" # Because Dolphin doesn't update their shit
- "ppa:kgilmer/speed-ricer" # Rice rice rice
- "ppa:lutris-team/lutris" # Lutris is kickass
- name: Update and upgrade apt packages
apt:
upgrade: "yes"
update_cache: yes
# One day
cache_valid_time: 86400
- name: Install packages
apt:
name:
# Terminal packages
- adb
- build-essential
2020-06-29 03:46:26 -05:00
- cmake
2020-06-29 03:42:57 -05:00
- debhelper
2020-06-29 03:56:46 -05:00
- devscripts
2020-06-29 03:42:57 -05:00
- dh-make
- earlyoom
- fastboot
- ffmpeg
- git
- imagemagick
- lua-check # I am good ComputerCraft guy
- neofetch
- network-manager-openconnect
- network-manager-openvpn
- npm
- openjdk-8-jre # For Minecraft
2020-06-29 03:56:46 -05:00
- pbuilder
- pwgen
- python3-appdirs
- python3-eyed3
- python3-pip
- python3-pyqt5
- python3-usb # fuselee-gelee
- python3-venv
- qt5-default # For Multimc, should be installed on Kubuntu
2020-07-23 02:07:54 -05:00
- traceroute
- tree
- units
- vim
- wamerican # Dictionaries because I have like two scripts that use them
- wamerican-large
- wamerican-huge
- wamerican-insane
- wine
- wine-binfmt
- xz-utils # For Ansible deb support
# Fonts
2020-07-08 05:41:15 -05:00
- fonts-fork-awesome
- fonts-inconsolata
- fonts-noto
- fonts-roboto
# DE
- bspwm
- compton
- conky-all
- dunst
- hsetroot
- i3lock
2020-06-23 04:18:36 -05:00
- ibus
- ibus-mozc
- kubuntu-desktop
2020-06-29 10:28:18 -05:00
- nitrogen
- papirus-icon-theme
- pavucontrol-qt
- polybar
- qt5ct
- xbacklight
# Desktop applications
2020-07-11 05:59:51 -05:00
- barrier
- cantata
- chromium-browser
- chromium-chromedriver # Because Selenium
- clonezilla
- dolphin-emu-master
- dolphin-plugins
- element-desktop
- filelight
- filezilla
- firefox
- g810-led
- gimp
- inkscape
- joy2key
- joystick
- kcolorchooser
- kdenlive
2020-07-04 06:22:26 -05:00
- kdepim
- keepassxc
- krita
- libnotify-bin
2020-07-24 16:00:23 -05:00
- libretro-desmume
- libretro-mgba
- libretro-mupen64plus
- libretro-snes9x
- lutris
- mesa-vulkan-drivers
- monodevelop
- mpv
- mupen64plus-qt
- nextcloud-desktop
- obs-studio
- pulseeffects
2020-07-11 05:59:51 -05:00
- q4wine
- qbittorrent
2020-07-01 12:08:16 -05:00
- rdesktop
- redshift
2020-07-24 16:00:23 -05:00
- retroarch
- rofi
- scrot
- steam-installer
- syncthing-gtk
- telegram-desktop
- torbrowser-launcher
- virt-manager
- vulkan-tools
- vulkan-utils
- winetricks
- xdotool
- zim
- "libgl1-mesa-dri:i386"
- "mesa-vulkan-drivers:i386"
# Games
- minetest
- name: Install Focal-exclusive desktop applications
apt:
name:
- piper
when: ansible_distribution_release == "focal"
- name: Install packages without recommends
apt:
install_recommends: no
name:
- php # Dev stuff
- php-xml
- name: Install out-of-repo packages
apt:
deb: "{{ item }}"
loop:
- "https://github.com/MultiMC/MultiMC5/releases/download/0.6.8/multimc_1.4-1.deb"
- "https://zoom.us/client/latest/zoom_amd64.deb"
- name: Install desktop applications through pip3
pip:
executable: "/usr/bin/pip3"
name:
- protontricks
- youtube-dl
- name: Install desktop applications through Snap
snap:
name:
- discord
- scrcpy # Remote Android viewing
- spotify # Forgive me father
- name: Install Snap applications classically
snap:
classic: yes
name: "{{ item }}"
loop:
- slack
- name: Remove Snap applications
snap:
name:
2020-07-23 01:27:02 -05:00
- pixelorama
- riot-web
state: absent
- name: Remove desktop applications through APT
apt:
name:
2020-07-23 01:27:02 -05:00
- akregator
- ktorrent
- mpd
2020-07-22 15:57:33 -05:00
- thunderbird
state: absent
become: yes