2020-12-01 22:39:37 +00:00
|
|
|
---
|
|
|
|
- become: yes
|
|
|
|
block:
|
|
|
|
- name: Add i386 Architecture
|
|
|
|
command: dpkg --add-architecture i386
|
|
|
|
|
|
|
|
- name: Update APT Cache for i386
|
|
|
|
apt:
|
|
|
|
update_cache: true
|
|
|
|
|
2023-05-08 09:22:43 +00:00
|
|
|
- name: remove old ppa repository
|
2020-12-01 22:39:37 +00:00
|
|
|
apt_repository:
|
|
|
|
repo: ppa:lutris-team/lutris
|
2023-05-08 09:22:43 +00:00
|
|
|
state: absent
|
2020-12-01 22:39:37 +00:00
|
|
|
|
2023-05-08 09:22:43 +00:00
|
|
|
- name: install lutris libraries
|
2020-12-01 22:39:37 +00:00
|
|
|
apt:
|
|
|
|
update_cache: yes
|
|
|
|
pkg:
|
|
|
|
- wine
|
2023-05-08 09:22:43 +00:00
|
|
|
- steam
|
|
|
|
|
|
|
|
- name: "Get Lutris version"
|
|
|
|
uri:
|
|
|
|
url: https://api.github.com/repos/lutris/lutris/releases/latest
|
|
|
|
body_format: json
|
|
|
|
register: git_info
|
|
|
|
|
|
|
|
- name: Install deb package
|
|
|
|
become: yes
|
|
|
|
apt:
|
|
|
|
deb: "{{ (git_info.json | json_query('assets[*].browser_download_url') | select('match', '.*deb'))[0] }}"
|