Elminate usage of "BOOL != true".

This commit is contained in:
me
2026-10-02 07:52:22 -07:00
parent 0a820394bb
commit 9beecf1a49
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -428,7 +428,7 @@
- name: General | Account Management | Provisioning Configuration | Exit Check - name: General | Account Management | Provisioning Configuration | Exit Check
shell: echo "Please configure the config files in {{ prov_dir }} then try again." && exit 1 shell: echo "Please configure the config files in {{ prov_dir }} then try again." && exit 1
when: provision != true when: ! provision
## Display values ## ## Display values ##
+2 -2
View File
@@ -308,8 +308,8 @@
changed_when: "'REMOVED' in remove_additional.stdout" changed_when: "'REMOVED' in remove_additional.stdout"
failed_when: "'FAILED' in remove_additional.stdout" failed_when: "'FAILED' in remove_additional.stdout"
become_user: "{{ user }}" become_user: "{{ user }}"
when: coding != true when: !coding
or sdks != true or !sdks
# Remove any versions which used to be part of this script and no longer used. # Remove any versions which used to be part of this script and no longer used.
- name: Workstation | Linux | Software | Android | Uninstall | Unused Modules - name: Workstation | Linux | Software | Android | Uninstall | Unused Modules
+3 -3
View File
@@ -69,7 +69,7 @@
name: name:
- lutris - lutris
state: absent state: absent
when: ansible_architecture != "aarch64" and gaming != true when: ansible_architecture != "aarch64" and ! gaming
## Uninstall Repo ## ## Uninstall Repo ##
@@ -78,7 +78,7 @@
repo: ppa:lutris-team/lutris repo: ppa:lutris-team/lutris
update_cache: yes update_cache: yes
state: absent state: absent
when: ansible_distribution in ("Ubuntu") and gaming != true when: ansible_distribution in ("Ubuntu") and ! gaming
ignore_errors: yes ignore_errors: yes
- name: Workstation | Linux | Software | Lutris | Remove PPA (Debian) - name: Workstation | Linux | Software | Lutris | Remove PPA (Debian)
@@ -87,4 +87,4 @@
- "mv {{ lutris_source_list }} ~/TRASH/" - "mv {{ lutris_source_list }} ~/TRASH/"
- "mv {{ lutris_keyfile }} ~/TRASH/" - "mv {{ lutris_keyfile }} ~/TRASH/"
- "sudo apt update" - "sudo apt update"
when: ansible_distribution in ("Debian") and gaming != true and lutris_source_exists.stat.exists when: ansible_distribution in ("Debian") and ! gaming and lutris_source_exists.stat.exists