2020-06-15 08:41:26 -05:00
|
|
|
#!/usr/bin/ansible-playbook
|
|
|
|
# vim:ft=ansible:
|
|
|
|
---
|
|
|
|
- name: Configure system packages
|
|
|
|
block:
|
|
|
|
- name: Enable i386 architecture
|
2020-07-05 08:56:35 -05:00
|
|
|
lineinfile:
|
|
|
|
dest: /var/lib/dpkg/arch
|
|
|
|
line: i386
|
|
|
|
create: yes
|
2020-07-22 08:44:56 -05:00
|
|
|
- name: Add repo keys from keyserver
|
2020-06-15 08:41:26 -05:00
|
|
|
apt_key:
|
|
|
|
keyserver: 'keyserver.ubuntu.com'
|
|
|
|
id: "{{ item }}"
|
|
|
|
loop:
|
|
|
|
- "3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" # Monodevelop
|
2020-07-22 08:44:56 -05:00
|
|
|
- name: Add repo keys by URL
|
|
|
|
apt_key:
|
|
|
|
url: "{{ item }}"
|
|
|
|
loop:
|
|
|
|
- "https://packages.riot.im/debian/riot-im-archive-keyring.gpg" # Element
|
2020-06-15 08:41:26 -05:00
|
|
|
- name: Add repos
|
|
|
|
apt_repository:
|
|
|
|
repo: "{{ item }}"
|
|
|
|
loop:
|
|
|
|
# Monodevelop
|
|
|
|
- "deb https://download.mono-project.com/repo/ubuntu vs-bionic main"
|
2020-07-22 08:44:56 -05:00
|
|
|
# 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
|
2020-06-15 08:41:26 -05:00
|
|
|
- "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
|
2020-06-15 08:41:26 -05:00
|
|
|
- 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
|
2020-06-15 08:41:26 -05:00
|
|
|
- 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
|
2020-06-15 08:41:26 -05:00
|
|
|
- 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
|
2020-06-15 08:41:26 -05:00
|
|
|
- fonts-inconsolata
|
|
|
|
- fonts-noto
|
|
|
|
- fonts-roboto
|
|
|
|
# DE
|
2020-06-29 06:18:55 -05:00
|
|
|
- bspwm
|
2020-06-15 08:41:26 -05:00
|
|
|
- compton
|
2020-06-29 06:18:55 -05:00
|
|
|
- conky-all
|
2020-06-15 08:41:26 -05:00
|
|
|
- dunst
|
|
|
|
- hsetroot
|
|
|
|
- i3lock
|
2020-06-23 04:18:36 -05:00
|
|
|
- ibus
|
|
|
|
- ibus-mozc
|
2020-06-15 08:41:26 -05:00
|
|
|
- kubuntu-desktop
|
2020-06-29 10:28:18 -05:00
|
|
|
- nitrogen
|
2020-06-15 08:41:26 -05:00
|
|
|
- papirus-icon-theme
|
|
|
|
- pavucontrol-qt
|
|
|
|
- polybar
|
|
|
|
- qt5ct
|
|
|
|
- xbacklight
|
|
|
|
# Desktop applications
|
2020-07-11 05:59:51 -05:00
|
|
|
- barrier
|
2020-06-15 08:41:26 -05:00
|
|
|
- cantata
|
|
|
|
- chromium-browser
|
|
|
|
- chromium-chromedriver # Because Selenium
|
|
|
|
- clonezilla
|
|
|
|
- dolphin-emu-master
|
|
|
|
- dolphin-plugins
|
2020-07-22 08:44:56 -05:00
|
|
|
- element-desktop
|
2020-06-15 08:41:26 -05:00
|
|
|
- filelight
|
|
|
|
- filezilla
|
|
|
|
- firefox
|
|
|
|
- g810-led
|
|
|
|
- gimp
|
|
|
|
- inkscape
|
|
|
|
- joy2key
|
|
|
|
- joystick
|
|
|
|
- kcolorchooser
|
|
|
|
- kdenlive
|
2020-07-04 06:22:26 -05:00
|
|
|
- kdepim
|
2020-06-15 08:41:26 -05:00
|
|
|
- keepassxc
|
|
|
|
- krita
|
|
|
|
- libnotify-bin
|
2020-07-24 16:00:23 -05:00
|
|
|
- libretro-desmume
|
|
|
|
- libretro-mgba
|
|
|
|
- libretro-mupen64plus
|
|
|
|
- libretro-snes9x
|
2020-06-15 08:41:26 -05:00
|
|
|
- lutris
|
|
|
|
- mesa-vulkan-drivers
|
|
|
|
- monodevelop
|
|
|
|
- mpv
|
|
|
|
- mupen64plus-qt
|
|
|
|
- nextcloud-desktop
|
|
|
|
- obs-studio
|
|
|
|
- pulseeffects
|
2020-07-11 05:59:51 -05:00
|
|
|
- q4wine
|
2020-06-15 08:41:26 -05:00
|
|
|
- qbittorrent
|
2020-07-01 12:08:16 -05:00
|
|
|
- rdesktop
|
2020-06-15 08:41:26 -05:00
|
|
|
- redshift
|
2020-07-24 16:00:23 -05:00
|
|
|
- retroarch
|
2020-06-15 08:41:26 -05:00
|
|
|
- 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"
|
2020-07-01 23:22:25 -05:00
|
|
|
- "https://zoom.us/client/latest/zoom_amd64.deb"
|
2020-06-15 08:41:26 -05:00
|
|
|
- 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
|
2020-07-22 08:44:56 -05:00
|
|
|
- name: Remove Snap applications
|
|
|
|
snap:
|
|
|
|
name:
|
2020-07-23 01:27:02 -05:00
|
|
|
- pixelorama
|
2020-07-22 08:44:56 -05:00
|
|
|
- riot-web
|
|
|
|
state: absent
|
2020-06-15 08:41:26 -05:00
|
|
|
- name: Remove desktop applications through APT
|
|
|
|
apt:
|
|
|
|
name:
|
2020-07-23 01:27:02 -05:00
|
|
|
- akregator
|
2020-06-15 08:41:26 -05:00
|
|
|
- ktorrent
|
|
|
|
- mpd
|
2020-07-22 15:57:33 -05:00
|
|
|
- thunderbird
|
2020-06-15 08:41:26 -05:00
|
|
|
state: absent
|
|
|
|
become: yes
|