don_rumata.ansible_role_install_wine

Ansible Role: Install Wine

License Ansible Galaxy CircleCI Ansible Galaxy Quality

This role installs Wine on Linux.

Supported Platforms

  platforms:
    - name: Fedora
      versions:
        - 33
        - 34
    - name: Ubuntu
      versions:
        - xenial
        - bionic
        - focal
    - name: Debian
      versions:
        - stretch
        - buster
        - sid
    - name: OpenSUSE
      versions:
        - tumbleweed
        - 15.3

Requirements

  • Minimum Ansible Version: 2.6

Role Variables

#--- Version Settings ---#

wine_branch: stable
# Options: devel, staging

# wine_package_name: wine
# Options: winehq-stable, wine-mono, wine-nine-standalone-32bit, wine-staging-devel-32bit-debuginfo, or any other package

wine_install_winetricks: true 
# Set to false if you don't want winetricks

#--- Repository Settings ---#

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 }}'

# Choose "http" or "https" based on your configuration.
http_or_https: http 
# Change to "https" if needed

Dependencies

None.

How to Use

Installing the Role

Using ansible-galaxy:

ansible-galaxy install don_rumata.ansible_role_install_wine

Using bash and 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

Example Playbooks

I

To 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:

II

To 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:

III

To 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:

License

Apache License, Version 2.0

Author Information

Created by don Rumata

TODO

  • Add tests.
  • Add more tests.
Informazioni sul progetto

Install Wine for Linux

Installa
ansible-galaxy install don_rumata.ansible_role_install_wine
Licenza
apache-2.0
Download
146
Proprietario
Здесь все бесполезно. Знаний не хватает, а золото теряет цену, потому что опаздывает.