Move lutris to its own playbook while adding Debian support.
This commit is contained in:
@ -41,40 +41,6 @@
|
||||
- gparted
|
||||
state: present
|
||||
|
||||
# Lutris #
|
||||
|
||||
- name: Workstation | Linux | Software | Packages | Add Lutris PPA (Ubuntu)
|
||||
apt_repository:
|
||||
repo: ppa:lutris-team/lutris
|
||||
update_cache: yes
|
||||
state: present
|
||||
when: ansible_distribution in ("Ubuntu", "Debian") and gaming == true
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Workstation | Linux | Software | Packages | Add Lutris (besides ARM)
|
||||
package:
|
||||
name:
|
||||
- lutris
|
||||
state: present
|
||||
when: ansible_architecture != "aarch64" and gaming == true
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Workstation | Linux | Software | Packages | Remove Lutris (besides ARM)
|
||||
package:
|
||||
name:
|
||||
- lutris
|
||||
state: absent
|
||||
when: ansible_architecture != "aarch64" and gaming is not defined
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Workstation | Linux | Software | Packages | Remove Lutris PPA (Ubuntu)
|
||||
apt_repository:
|
||||
repo: ppa:lutris-team/lutris
|
||||
update_cache: yes
|
||||
state: absent
|
||||
when: ansible_distribution in ("Ubuntu", "Debian") and gaming is not defined
|
||||
ignore_errors: yes
|
||||
|
||||
# Remove Repo Software #
|
||||
|
||||
- name: Workstation | Linux | Software | Packages | Remove Applications
|
||||
|
Reference in New Issue
Block a user