Update lutris role

This commit is contained in:
Przemek Grondek 2023-05-08 11:22:43 +02:00
parent bd4fa1fd4c
commit 61aa5c527a

View File

@ -8,14 +8,25 @@
apt:
update_cache: true
- name: add signal gpg key
- name: remove old ppa repository
apt_repository:
repo: ppa:lutris-team/lutris
state: absent
- name: install lutris
- name: install lutris libraries
apt:
update_cache: yes
pkg:
- lutris
- wine
- 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] }}"