Ansible_workstation/tasks/wine.yml

34 lines
698 B
YAML

---
- name: Activate Multilib (name)
lineinfile:
dest: /etc/pacman.conf
regexp: '^#[multilib]'
line: 'multilib'
backrefs: yes
- name: Activate Multilib (Include)
lineinfile:
dest: /etc/pacman.conf
regexp: '^#Include = /etc/pacman.d/mirrorlist'
line: 'Include = /etc/pacman.d/mirrorlist'
backrefs: yes
- name: Update pacman cache
pacman:
update_cache: yes
- name: Install WINE
pacman:
name: "{{ item }}"
state: present
with_items:
- lib32-libglvnd # wine has multiple fulfilments for lib32-libgl
- wine
- winetricks
- wine_gecko
- wine-mono
# Audio
- lib32-alsa-plugins
- lib32-libpulse
- lib32-openal