linux-mint/mint.yml
2022-07-25 14:38:57 +02:00

159 lines
4.4 KiB
YAML

---
- name: Mint Packages
hosts: all
tasks:
- name: Install Basic Packages
apt:
name:
# powersave
- tlp
- tlp-rdw
# Speed up program start
- preload
# mediacodecs and fonts
- ubuntu-restricted-extras
- libavcodec-extra
- libdvd-pkg
- fonts-terminus
# share desk
- x11vnc
# useful other stuff
- spectre-meltdown-checker
- pwgen
- arj
- p7zip
- unace
- unadf
- bvi
- fdupes
- radeontop
- debootstrap
- geoip-bin
- sshfs
- speedtest-cli
# tools for android-smartphones/LineageOS
- heimdall-flash
- android-tools-adb
- android-tools-fastboot
- android-tools-mkbootimg
# OnlineBanking
- hibiscus
# dconf-gui
- dconf-editor
# Media
- gthumb
- mediainfo-gui
- easytag
- audacity
- asunder
- mediathekview
- audacious
# retro
- dosbox
# brenne
- brasero
update_cache: yes
install_recommends: no
- name: Install Flatpaks
community.general.flatpak:
name:
- org.signal.Signal
- com.nextcloud
- com.vscodium.codium
- com.github.wwmm.pulseeffects
- org.ksnip.ksnip
- org.gnome.Evolution
- org.winehq.Wine
- com.github.tchx84.Flatseal
state: present
method: system
- name: remove dhcpcd because NetworkManager is doing the job
command: systemctl disable dhcpcd
args:
removes: /etc/systemd/system/multi-user.target.wants/dhcpcd.service
- name: /etc/default/grub nonquiet nosplash
ansible.builtin.lineinfile:
path: /etc/default/grub
regexp: '^GRUB_CMDLINE_LINUX_DEFAULT=.*$'
line: "GRUB_CMDLINE_LINUX_DEFAULT=\"nosplash\""
backup: yes
notify:
- update-grub
- name: enable Mint Autoupdate
command: systemctl enable mintupdate-automation-upgrade.timer
args:
creates: /etc/systemd/system/timers.target.wants/mintupdate-automation-upgrade.timer
- name: enable Mint Autoupdate Cleanup
command: systemctl enable mintupdate-automation-autoremove.timer
args:
creates: /etc/systemd/system/timers.target.wants/mintupdate-automation-autoremove.timer
- name: mint-config-update
ansible.builtin.get_url:
url: https://gitea.ds9.dedyn.io/olli/linux-mint/raw/branch/main/mint-config-update.sh
dest: /usr/local/sbin/mint-config-update.sh
mode: '0555'
owner: root
group: root
force: yes
backup: yes
- name: mint-config-update startmenu
ansible.builtin.get_url:
url: https://gitea.ds9.dedyn.io/olli/linux-mint/raw/branch/main/mint-config-update.desktop
dest: /usr/share/applications/mint-config-update.desktop
mode: '0444'
owner: root
group: root
force: yes
- name: gtc-x11vnc
ansible.builtin.get_url:
url: https://gitea.ds9.dedyn.io/olli/gtc-x11vnc/raw/branch/main/gtc-x11vnc.sh
dest: /usr/local/bin/gtc-x11vnc.sh
mode: '0555'
owner: root
group: root
force: yes
backup: yes
- name: gtc-x11vnc startmenu
ansible.builtin.get_url:
url: https://gitea.ds9.dedyn.io/olli/gtc-x11vnc/raw/branch/main/gtc-x11vnc.desktop
dest: /usr/share/applications/gtc-x11vnc.desktop
mode: '0444'
owner: root
group: root
force: yes
- name: gtc-media-compress
ansible.builtin.get_url:
url: https://gitea.ds9.dedyn.io/olli/gtc-media-compress/raw/branch/main/gtc-media-compress.sh
dest: /usr/local/bin/gtc-media-compress.sh
mode: '0555'
owner: root
group: root
force: yes
backup: yes
- name: gtc-media-compress startmenu
ansible.builtin.get_url:
url: https://gitea.ds9.dedyn.io/olli/gtc-media-compress/raw/branch/main/gtc-media-compress.desktop
dest: /usr/share/applications/gtc-media-compress.desktop
mode: '0444'
owner: root
group: root
force: yes
handlers:
- name: update-grub
ansible.builtin.shell: update-grub