41 lines
1.1 KiB
YAML
Executable File
41 lines
1.1 KiB
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
# vim:ft=ansible:
|
|
---
|
|
# Home desktops
|
|
- hosts: desktop
|
|
post_tasks:
|
|
- name: confirm liblzo2 dllmap
|
|
lineinfile:
|
|
path: /etc/mono/config
|
|
insertafter: "<configuration>"
|
|
line: '<dllmap dll="lzo2.dll" target="liblzo2.so.2" os="!windows"/>'
|
|
become: yes
|
|
tags: [ desktop, mono ]
|
|
- name: give python3 cap_sys_ptrace
|
|
capabilities:
|
|
path: /usr/bin/python3.8
|
|
# Required for Randovania to access Dolphin memory
|
|
capability: cap_sys_ptrace=eip
|
|
become: yes
|
|
tags: [ desktop, python, cap ]
|
|
roles:
|
|
- role: desktop
|
|
become: yes
|
|
tags: [ desktop ]
|
|
- role: grub
|
|
become: yes
|
|
tags: [ desktop, grub ]
|
|
- role: udev
|
|
vars:
|
|
udev_rules:
|
|
# Switch RCM stuff
|
|
- SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"
|
|
become: yes
|
|
tags: [ desktop, udev ]
|
|
- role: pulseaudio
|
|
become: yes
|
|
tags: [ desktop, pulse, pulseaudio ]
|
|
- role: zerotier
|
|
become: yes
|
|
tags: [ desktop, zerotier ]
|