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
+9 -9
View File
@@ -58,7 +58,7 @@
- "{{ mesa }}"
- "{{ mesa_utils }}"
state: present
when: coding == true
when: coding
# https://docs.flutter.dev/get-started/install/linux/desktop
- name: Workstation | Linux | Software | Flutter | Linux App Dependencies
@@ -73,7 +73,7 @@
- "{{ xz_libs }}"
- "{{ cpp }}"
state: present
when: coding == true
when: coding
# https://docs.flutter.dev/get-started/install/linux/android
- name: Workstation | Linux | Software | Flutter | Android App Dependencies
@@ -84,7 +84,7 @@
- "{{ z_libs }}"
- "{{ bzip }}"
state: present
when: coding == true
when: coding
## Install SDK ##
@@ -116,14 +116,14 @@
group: "{{ user }}"
become_user: "{{ user }}"
when: coding == true
when: coding
and not flutter_sdk_stat.stat.exists
- name: Workstation | Linux | Software | Flutter | Delete Archive
file:
path: "{{ flutter_download_file }}"
state: absent
when: coding == true
when: coding
## Configure Environment ##
@@ -140,7 +140,7 @@
- "{{ user_root.home }}"
- "{{ user_user.home }}"
ignore_errors: yes
when: coding == true
when: coding
and user_root.home != ""
and user_user.home != ""
@@ -157,7 +157,7 @@
- "{{ user_root.home }}"
- "{{ user_user.home }}"
ignore_errors: yes
when: coding == true
when: coding
and user_root.home != ""
and user_user.home != ""
@@ -167,7 +167,7 @@
shell: "{{ item }}"
loop: "{{ flutter_report_commands }}"
become_user: "{{ user }}"
when: coding == true
when: coding
## Uninstall SDK ##
@@ -175,4 +175,4 @@
file:
path: "{{ flutter_sdk_location }}"
state: absent
when: not coding == true
when: not coding