Elminate usage of "BOOL == true".
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
repo: ppa:lutris-team/lutris
|
||||
update_cache: yes
|
||||
state: present
|
||||
when: ansible_distribution in ("Ubuntu") and gaming == true
|
||||
when: ansible_distribution in ("Ubuntu") and gaming
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Workstation | Linux | Software | Lutris | Add PPA (Debian)
|
||||
@@ -51,7 +51,7 @@
|
||||
- "echo 'deb [signed-by={{ lutris_keyfile }}] https://download.opensuse.org/repositories/home:/strycore/Debian_13/ ./' \
|
||||
| sudo tee {{ lutris_source_list }} > /dev/null"
|
||||
- "sudo apt update"
|
||||
when: ansible_distribution in ("Debian") and gaming == true and not lutris_source_exists.stat.exists
|
||||
when: ansible_distribution in ("Debian") and gaming and not lutris_source_exists.stat.exists
|
||||
|
||||
## Install Package ##
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
name:
|
||||
- lutris
|
||||
state: present
|
||||
when: ansible_architecture != "aarch64" and gaming == true
|
||||
when: ansible_architecture != "aarch64" and gaming
|
||||
|
||||
## Uninstall Package ##
|
||||
|
||||
|
||||
Reference in New Issue
Block a user