Flutter, allow the facts to be set and registered so that the SDK and download can be deleted.
This commit is contained in:
@@ -9,17 +9,14 @@
|
||||
flutter_download_file: "{{ user_user.home }}/Downloads/flutter.tar.xz"
|
||||
flutter_sdk_location: "{{ user_user.home }}/SDKs/Flutter"
|
||||
flutter_report: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.sdk.flutter.txt"
|
||||
when: coding == true
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Facts [2/4]
|
||||
set_fact:
|
||||
flutter_bin_location: "{{ flutter_sdk_location }}/flutter/bin"
|
||||
when: coding == true
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Facts [3/4]
|
||||
set_fact:
|
||||
flutter: "{{ flutter_bin_location }}/flutter"
|
||||
when: coding == true
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Facts [3/3]
|
||||
set_fact:
|
||||
@@ -29,7 +26,6 @@
|
||||
- "date >> {{ flutter_report }}"
|
||||
- "{{ flutter }} doctor -v >> {{ flutter_report }}"
|
||||
- "date >> {{ flutter_report }}"
|
||||
when: coding == true
|
||||
|
||||
## Checks ##
|
||||
|
||||
@@ -40,7 +36,6 @@
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
register: flutter_sdk_stat
|
||||
when: coding == true
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Check Download Exists
|
||||
stat:
|
||||
@@ -49,7 +44,6 @@
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
register: flutter_download_stat
|
||||
when: coding == true
|
||||
|
||||
## Packages ##
|
||||
|
||||
|
||||
Reference in New Issue
Block a user