diff --git a/tasks/general/acct_mgmt/provision_config.yml b/tasks/general/acct_mgmt/provision_config.yml index 4f28e99..5f4c807 100644 --- a/tasks/general/acct_mgmt/provision_config.yml +++ b/tasks/general/acct_mgmt/provision_config.yml @@ -428,7 +428,7 @@ - name: General | Account Management | Provisioning Configuration | Exit Check shell: echo "Please configure the config files in {{ prov_dir }} then try again." && exit 1 - when: provision != true + when: ! provision ## Display values ## diff --git a/tasks/workstation/linux/software/android.yml b/tasks/workstation/linux/software/android.yml index df1e8c2..7a1f210 100644 --- a/tasks/workstation/linux/software/android.yml +++ b/tasks/workstation/linux/software/android.yml @@ -308,8 +308,8 @@ changed_when: "'REMOVED' in remove_additional.stdout" failed_when: "'FAILED' in remove_additional.stdout" become_user: "{{ user }}" - when: coding != true - or sdks != true + when: !coding + or !sdks # Remove any versions which used to be part of this script and no longer used. - name: Workstation | Linux | Software | Android | Uninstall | Unused Modules diff --git a/tasks/workstation/linux/software/lutris.yml b/tasks/workstation/linux/software/lutris.yml index bad31d6..7da3561 100644 --- a/tasks/workstation/linux/software/lutris.yml +++ b/tasks/workstation/linux/software/lutris.yml @@ -69,7 +69,7 @@ name: - lutris state: absent - when: ansible_architecture != "aarch64" and gaming != true + when: ansible_architecture != "aarch64" and ! gaming ## Uninstall Repo ## @@ -78,7 +78,7 @@ repo: ppa:lutris-team/lutris update_cache: yes state: absent - when: ansible_distribution in ("Ubuntu") and gaming != true + when: ansible_distribution in ("Ubuntu") and ! gaming ignore_errors: yes - name: Workstation | Linux | Software | Lutris | Remove PPA (Debian) @@ -87,4 +87,4 @@ - "mv {{ lutris_source_list }} ~/TRASH/" - "mv {{ lutris_keyfile }} ~/TRASH/" - "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