82 lines
1.9 KiB
YAML
82 lines
1.9 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 Flatpak
|
|
apt:
|
|
name:
|
|
- flatpak
|
|
notify:
|
|
- add flatpak flatpub repo
|
|
|
|
- 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
|
|
|
|
- name: add flatpak flatpub repo
|
|
command: flatpak --system remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
|
|