Ansible_workstation/tasks/wine.yml

34 lines
741 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
pacman:
name:
- lib32-libglvnd # wine has multiple fulfilments for lib32-libgl
- wine
- winetricks
- wine_gecko
- wine-mono
- lib32-alsa-plugins
- lib32-libpulse
- lib32-openal
state: present