Update lutris role
This commit is contained in:
parent
bd4fa1fd4c
commit
61aa5c527a
@ -8,14 +8,25 @@
|
|||||||
apt:
|
apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
- name: add signal gpg key
|
- name: remove old ppa repository
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: ppa:lutris-team/lutris
|
repo: ppa:lutris-team/lutris
|
||||||
|
state: absent
|
||||||
|
|
||||||
- name: install lutris
|
- name: install lutris libraries
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
pkg:
|
pkg:
|
||||||
- lutris
|
|
||||||
- wine
|
- wine
|
||||||
- steam
|
- 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] }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user