Modify variable names and attempt to get the tar extracted to the correct ansible/ subdirectory.

This commit is contained in:
Hyperling 2025-02-26 08:36:36 -07:00
parent 2e8c2205c3
commit e3887098a0

@ -21,12 +21,12 @@
- name: Workstation | Linux | Software | Android | Facts [2/3]
set_fact:
android_bin_location: "{{ android_sdk_location }}/platform-tools"
android_sdk_location_temp: "{{ android_sdk_location }}/ansible"
android_sdk_cmdline_temp: "{{ android_sdk_location }}/ansible"
android_sdkmanager_final: "{{ android_sdk_location }}/cmdline-tools/latest/bin/sdkmanager"
- name: Workstation | Linux | Software | Android | Facts [3/3]
set_fact:
android_sdkmanager_temp: "{{ android_sdk_location_temp }}/cmdline-tools/bin/sdkmanager"
android_sdkmanager_temp: "{{ android_sdk_cmdline_temp }}/cmdline-tools/bin/sdkmanager"
## Checks ##
@ -95,7 +95,7 @@
- name: Workstation | Linux | Software | Android | Extract Tools
unarchive:
src: "{{ android_download_file }}"
dest: "{{ android_sdk_location }}"
dest: "{{ android_sdk_cmdline_temp }}"
owner: "{{ user }}"
group: "{{ user }}"