Add post-task to confirm a liblzo2 dllmap

Need it for rando
This commit is contained in:
Salt 2020-12-04 00:52:40 -06:00
parent e3d89690c1
commit 07a28018b0

View File

@ -12,13 +12,21 @@
tags: [ ansible, common ]
# Home desktops
- hosts: desktop
tasks:
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