diff --git a/tasks/workstation/linux/software/android.yml b/tasks/workstation/linux/software/android.yml index 7320a41..6f9f127 100644 --- a/tasks/workstation/linux/software/android.yml +++ b/tasks/workstation/linux/software/android.yml @@ -363,7 +363,7 @@ ## Flutter and Licenses ## - name: Workstation | Linux | Software | Android | Inform Flutter - ansible.builtin.shell: "{{ flutter }} config --android-sdk={{ android_sdk_location }}" + ansible.builtin.shell: "{{ flutter_exe }} config --android-sdk={{ android_sdk_location }}" become: true become_user: "{{ user }}" register: shell_check @@ -379,7 +379,7 @@ when: coding - name: Workstation | Linux | Software | Android | License Agreements [2/2] - ansible.builtin.shell: "yes | {{ flutter }} doctor --android-licenses" + ansible.builtin.shell: "yes | {{ flutter_exe }} doctor --android-licenses" become: true become_user: "{{ user }}" register: shell_check @@ -401,7 +401,7 @@ ansible.builtin.blockinfile: path: "{{ user_user.home }}/{{ item }}" block: | - export ANDROID_HOME="{{ android_sdk_location }}" + export ANDROID_HOME="{{ android_sdk_location | replace('~', '$HOME') }}" export ANDROID_SDK_ROOT="$ANDROID_HOME" export PATH="{{ android_bin_location }}:{{ android_sdk_cmdline_final }}:$PATH" marker: '# {mark} MANAGED BY ANSIBLE | Android'