Enhance comment. Fix typo. Fix conditional.

This commit is contained in:
Hyperling 2025-02-26 08:33:54 -07:00
parent 4bc52d984c
commit 2e8c2205c3

View File

@ -39,7 +39,7 @@
- name: Workstation | Linux | Software | Android | Check SDK Manager Exists [2/2]
stat:
path: "{{ android_sdkmanager_final }}"
register: android_sdkmanage_final_stat
register: android_sdkmanager_final_stat
when: coding == true
- name: Workstation | Linux | Software | Android | Check Download Exists
@ -119,7 +119,7 @@
become_user: "{{ user }}"
when: coding == true and not android_sdkmanager_final_stat.stat.exists
# These are safe to run multiple times.
# These are safe to run multiple times, and uses the new `latest` version.
- name: Workstation | Linux | Software | Android | Install Modules
shell: "yes | {{ android_sdkmanager_final }} --install '{{ item }}' --sdk_root={{ android_sdk_location }}"
loop:
@ -137,7 +137,7 @@
#- system-images;android-35;aosp_atd;x86_64
- system-images;android-35;google_apis_playstore;x86_64
become_user: "{{ user }}"
when: coding == true and not android_sdkmanager_final_stat.stat.exists
when: coding == true
- name: Workstation | Linux | Software | Android | Update Modules
shell: "yes | {{ android_sdkmanager_final }} --update --sdk_root={{ android_sdk_location }}"