debian.ansible.kodi/kodi.yml
2022-10-17 16:44:03 +02:00

72 lines
1.6 KiB
YAML

---
- name: Mint Packages
hosts: all
tasks:
- name: Install Basic Packages
apt:
name:
# share desk
- x11vnc
# useful other stuff
- 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
# kodi and desktop specific
- mate-desktop-environment-core
- lightdm
update_cache: yes
install_recommends: no
- name: Install Flatpaks
community.general.flatpak:
name:
- tv.kodi.Kodi
- io.gitlab.librewolf-community
state: present
method: system
- name: lightdm.conf
blockinfile:
path: /etc/lightdm/lightdm.conf
create: yes
mode: "0444"
owner: root
group: root
insertafter: "#exit-on-failure=false"
marker: "# {mark} tor-nas ANSIBLE MANAGED BLOCK"
block: |
session-wrapper=/etc/X11/Xsession
user-session=mate
greeter-hide-users=false
greeter-show-manual-login=true
allow-guest=false
xserver-command=X -core -dpi 96
autologin-user=pi
backup: yes
notify:
- Restart lightdm
handlers:
- name: Restart lightdm
service:
name: lightdm
state: restarted