Install Wine for Linux.
platforms:
- name: Fedora
versions:
- 33
- 34
- name: Ubuntu
versions:
- xenial
- bionic
- focal
- name: Debian
version:
- stretch
- buster
- sid
- name: opensuse
vesrion:
- tumbleweed
- 15.3
min_ansible_version: 2.6
#--- Version section ---#
wine_branch: stable
# wine_branch: devel
# wine_branch: staging
# wine_package_name: wine
# wine_package_name: winehq-stable
# wine_package_name: wine-mono
# wine_package_name: wine-nine-standalone-32bit
# wine_package_name: wine-staging-devel-32bit-debuginfo
# wine_package_name: any-package-you-like
wine_install_winetricks: true
# wine_install_winetricks: false
#--- Repo section ---#
wine_gpg_key: https://dl.winehq.org/wine-builds/winehq.key
wine_repo_deb_key: '{{ wine_gpg_key }}'
wine_repo_rpm_key: '{{ wine_gpg_key }}'
# If you *NOT* use apt-cacher-ng or other caching proxy - select "https".
http_or_https: http
# http_or_https: https
None.
Over ansible-galaxy
:
ansible-galaxy install don_rumata.ansible_role_install_wine
Over bash+git
:
mkdir -p "$HOME/.ansible/roles"
cd "$HOME/.ansible/roles"
git clone https://github.com/don-rumata/ansible-role-install-wine don_rumata.ansible_role_install_wine
Install wine
and winetricks
on any supported Linux:
install-wine.yml
:
- name: Install Wine
hosts: all
strategy: free
serial:
- "100%"
roles:
- don_rumata.ansible_role_install_wine
tasks:
Install only wine
, without winetricks
:
install-wine.yml
:
- name: Install Wine
hosts: all
strategy: free
serial:
- "100%"
roles:
- role: don_rumata.ansible_role_install_wine
wine_install_winetricks: false
tasks:
Install wine-devel-amd64
, without winetricks
:
install-wine.yml
:
- name: Install Wine
hosts: all
strategy: free
serial:
- "100%"
roles:
- role: don_rumata.ansible_role_install_wine
wine_install_winetricks: false
wine_package_name: wine-devel-amd64
tasks:
Apache License, Version 2.0
Add tests.- Add more tests.