From 2e8c2205c33db80a7989a0898977f56ed15a3843 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 26 Feb 2025 08:33:54 -0700 Subject: [PATCH] Enhance comment. Fix typo. Fix conditional. --- tasks/workstation/linux/software/android.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/workstation/linux/software/android.yml b/tasks/workstation/linux/software/android.yml index 050604e..02753d3 100644 --- a/tasks/workstation/linux/software/android.yml +++ b/tasks/workstation/linux/software/android.yml @@ -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 }}"