Elminate usage of "BOOL == true".

This commit is contained in:
me
2026-10-02 07:51:10 -07:00
parent 198a731f9e
commit 0a820394bb
14 changed files with 88 additions and 87 deletions
+3 -3
View File
@@ -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 ##