Ansible_workstation/tasks/wine.yml

36 lines
781 B
YAML

---
- name: "add multilib"
lineinfile:
dest: "/etc/pacman.conf"
state: "present"
line: "[multilib]"
regexp: "^\\[multilib\\]"
insertafter: "^#\\[multilib\\]"
- name: "add multilib (cont)"
lineinfile:
dest: "/etc/pacman.conf"
state: "present"
line: "Include = /etc/pacman.d/mirrorlist"
insertafter: "^\\[multilib\\]"
regexp: "Include = /etc/pacman.d/mirrorlist"
- name: Update pacman cache
pacman:
update_cache: yes
- name: Install WINE and Lutris
pacman:
name:
- lib32-libglvnd # wine has multiple fulfilments for lib32-libgl
- wine
- winetricks
- wine_gecko
- wine-mono
# Audio
- lib32-alsa-plugins
- lib32-libpulse
- lib32-openal
- lutris
state: present