Loading kodi.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ - hosts: - kodi roles: - debian_server - kodi become: true become_user: root roles/kodi/files/kodi@.service +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ ConditionPathExists=/dev/tty0 [Service] User=kodi PAMName=login ExecStart=flatpak run --device=dri --filesystem=home --filesystem=/srv/library tv.kodi.Kodi --standalone --windowing=gbm -fs ExecStart=flatpak run --device=all --filesystem=/srv/library tv.kodi.Kodi --standalone --windowing=gbm -fs Type=simple Restart=on-abort RestartSec=5 Loading roles/kodi/handlers/main.yml 0 → 100644 +4 −0 Original line number Diff line number Diff line --- - name: Rebuild initramfs command: cmd: update-initramfs -u roles/kodi/tasks/main.yml +13 −1 Original line number Diff line number Diff line Loading @@ -7,10 +7,22 @@ - desktop-base - flatpak #- plymouth-themes - firmware-linux - udisks2 - unison - upower - name: Configure boot splash copy: backup: true content: | [Daemon] Theme=futureprototype dest: /etc/plymouth/plymouthd.conf mode: 0o0644 notify: - Rebuild initramfs - name: Add Flatpak remotes with_dict: flathub: https://flathub.org/repo/flathub.flatpakrepo Loading @@ -32,12 +44,12 @@ user: create_home: true home: /var/lib/kodi id: 999 name: kodi password: '!' # pragma: allowlist secret shell: /bin/false state: present system: true uid: 900 - name: Copy service copy: Loading Loading
kodi.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ - hosts: - kodi roles: - debian_server - kodi become: true become_user: root
roles/kodi/files/kodi@.service +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ ConditionPathExists=/dev/tty0 [Service] User=kodi PAMName=login ExecStart=flatpak run --device=dri --filesystem=home --filesystem=/srv/library tv.kodi.Kodi --standalone --windowing=gbm -fs ExecStart=flatpak run --device=all --filesystem=/srv/library tv.kodi.Kodi --standalone --windowing=gbm -fs Type=simple Restart=on-abort RestartSec=5 Loading
roles/kodi/handlers/main.yml 0 → 100644 +4 −0 Original line number Diff line number Diff line --- - name: Rebuild initramfs command: cmd: update-initramfs -u
roles/kodi/tasks/main.yml +13 −1 Original line number Diff line number Diff line Loading @@ -7,10 +7,22 @@ - desktop-base - flatpak #- plymouth-themes - firmware-linux - udisks2 - unison - upower - name: Configure boot splash copy: backup: true content: | [Daemon] Theme=futureprototype dest: /etc/plymouth/plymouthd.conf mode: 0o0644 notify: - Rebuild initramfs - name: Add Flatpak remotes with_dict: flathub: https://flathub.org/repo/flathub.flatpakrepo Loading @@ -32,12 +44,12 @@ user: create_home: true home: /var/lib/kodi id: 999 name: kodi password: '!' # pragma: allowlist secret shell: /bin/false state: present system: true uid: 900 - name: Copy service copy: Loading