2023-08-20 14:19:19 +00:00
|
|
|
- name: Check if android-sdk has been installed
|
|
|
|
stat:
|
|
|
|
path: "{{ android.dir }}"
|
|
|
|
register: android_sdk_dir_status
|
|
|
|
|
|
|
|
- import_tasks: install-android-sdk.yml
|
|
|
|
when:
|
|
|
|
- not android_sdk_dir_status.stat.exists
|
|
|
|
|
2023-08-20 13:45:22 +00:00
|
|
|
- name: Check if flutter has been installed
|
2023-08-20 12:14:45 +00:00
|
|
|
stat:
|
2023-08-20 13:45:22 +00:00
|
|
|
path: "{{ flutter.dir }}"
|
2023-08-20 12:14:45 +00:00
|
|
|
register: flutter_dir_status
|
|
|
|
|
2023-08-20 13:45:22 +00:00
|
|
|
- import_tasks: install-flutter.yml
|
|
|
|
when:
|
|
|
|
- not flutter_dir_status.stat.exists
|
|
|
|
|