debian.ansible.kodi/kodi.yml

84 lines
1.9 KiB
YAML
Raw Normal View History

2022-10-17 14:51:39 +02:00
---
- 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
2022-10-17 15:39:33 +02:00
# kodi and desktop specific
- mate-desktop-environment-core
- lightdm
2022-10-17 17:09:21 +02:00
- kodi
2022-10-17 17:19:47 +02:00
- xserver-xorg
- xinit
- x11-xserver-utils
- dbus-x11
2022-10-17 14:51:39 +02:00
update_cache: yes
install_recommends: no
- name: Install Flatpaks
community.general.flatpak:
name:
2022-10-17 15:39:33 +02:00
- io.gitlab.librewolf-community
2022-10-17 14:51:39 +02:00
state: present
method: system
2022-10-17 15:39:33 +02:00
2022-10-17 17:38:17 +02:00
- name: Create pi User
ansible.builtin.user:
name: pi
comment: pi
uid: 1100
group: users
2022-10-19 11:31:27 +02:00
groups: sudo,adm,audio,video,games,input,render,netdev
2022-10-17 17:38:17 +02:00
2022-10-17 15:39:33 +02:00
- 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
2022-10-19 11:27:31 +02:00
autologin-user=pi
2022-10-17 15:39:33 +02:00
backup: yes
notify:
- Restart lightdm
handlers:
- name: Restart lightdm
service:
name: lightdm
state: restarted