android, fix playbook to also work on Artix.

This commit is contained in:
2026-08-04 08:41:07 -07:00
parent 8a79822ae5
commit d54131a1b2
2 changed files with 25 additions and 13 deletions
+13 -13
View File
@@ -173,21 +173,23 @@
- name: Workstation | Linux | Software | Android | Dependencies [Install]
package:
name:
- default-jdk
- libc6
- libncurses5
- libstdc++6
- lib32z1
- libbz2-1.0
- "{{ android_jdk }}"
- "{{ c_libs }}"
- "{{ ncurses }}"
- "{{ cpp_libs }}"
- "{{ z_libs }}"
- "{{ bzip }}"
- "{{ android_udev }}"
state: present
when: coding == true
- name: Workstation | Linux | Software | Android | Dependencies [Remove]
package:
name:
- sdkmanager
- "{{ android_sdkmanager }}"
state: absent
when: coding == true
and ansible_pkg_mgr == "apt"
## Install SDK ##
@@ -358,17 +360,15 @@
- name: Workstation | Linux | Software | Android | System Tools [Install]
package:
name:
- fastboot
- adb
- "{{ android_fastboot }}"
- "{{ android_adb }}"
state: present
when: not coding == true
and ansible_pkg_mgr == "apt"
- name: Workstation | Linux | Software | Android | System Tools [Remove]
package:
name:
- fastboot
- adb
- "{{ android_fastboot }}"
- "{{ android_adb }}"
state: absent
when: coding == true
and ansible_pkg_mgr == "apt"