ansible-desktop/roles/flutter/tasks/main.yml
2023-08-26 23:57:26 +02:00

19 lines
416 B
YAML

- 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
- name: Check if flutter has been installed
stat:
path: "{{ flutter.dir }}"
register: flutter_dir_status
- import_tasks: install-flutter.yml
when:
- not flutter_dir_status.stat.exists