Reorganize desktop package set

This commit is contained in:
Salt 2020-05-24 23:03:15 -05:00
parent 6585879256
commit 46d5d6df79

View File

@ -50,9 +50,10 @@
update_cache: yes update_cache: yes
# One day # One day
cache_valid_time: 86400 cache_valid_time: 86400
- name: Install terminal packages - name: Install packages
apt: apt:
name: name:
# Terminal packages
- adb - adb
- build-essential - build-essential
- earlyoom - earlyoom
@ -80,31 +81,13 @@
- wine - wine
- wine-binfmt - wine-binfmt
- xz-utils # For Ansible deb support - xz-utils # For Ansible deb support
- name: Install development packages # Fonts
apt:
install_recommends: no
name:
- php # Dev stuff
- php-xml
- name: Install fonts
apt:
name:
- fonts-inconsolata - fonts-inconsolata
- fonts-noto - fonts-noto
- fonts-roboto - fonts-roboto
- name: Install games # DE
apt: - kubuntu-desktop
name: # Desktop applications
- minetest
- 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://d11yldzmag5yn.cloudfront.net/prod/5.0.399860.0429/zoom_amd64.deb"
- name: Install desktop applications through APT
apt:
name:
- cantata - cantata
- chromium-browser - chromium-browser
- clonezilla - clonezilla
@ -120,7 +103,6 @@
- kcolorchooser - kcolorchooser
- kdenlive - kdenlive
- keepassxc - keepassxc
- kubuntu-desktop
- lutris - lutris
- mesa-vulkan-drivers - mesa-vulkan-drivers
- mpc - mpc
@ -148,16 +130,25 @@
- zim - zim
- "libgl1-mesa-dri:i386" - "libgl1-mesa-dri:i386"
- "mesa-vulkan-drivers:i386" - "mesa-vulkan-drivers:i386"
# Games
- minetest
- name: Install Focal-exclusive desktop applications - name: Install Focal-exclusive desktop applications
apt: apt:
name: name:
- piper - piper
when: ansible_distribution_release == "focal" - name: Install packages without recommends
- name: Remove desktop applications through APT
apt: apt:
state: absent install_recommends: no
name: name:
- ktorrent - 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://d11yldzmag5yn.cloudfront.net/prod/5.0.399860.0429/zoom_amd64.deb"
when: ansible_distribution_release == "focal"
- name: Install desktop applications through pip3 - name: Install desktop applications through pip3
pip: pip:
executable: "/usr/bin/pip3" executable: "/usr/bin/pip3"
@ -176,6 +167,11 @@
name: "{{ item }}" name: "{{ item }}"
loop: loop:
- slack - slack
- name: Remove desktop applications through APT
apt:
state: absent
name:
- ktorrent
- name: Stop services - name: Stop services
systemd: systemd:
name: "{{ item }}" name: "{{ item }}"