Save a little time in the script if system is not for coding.
This commit is contained in:
parent
2708e367df
commit
f64a9584be
@ -9,14 +9,17 @@
|
||||
flutter_download_file: "{{ user_user.home }}/Downloads/flutter.tar.xz"
|
||||
flutter_sdk_location: "{{ user_user.home }}/SDKs/Flutter"
|
||||
flutter_report: "{{ user_user.home }}/Reports/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:
|
||||
@ -26,6 +29,7 @@
|
||||
- "date >> {{ flutter_report }}"
|
||||
- "{{ flutter }} doctor -v >> {{ flutter_report }}"
|
||||
- "date >> {{ flutter_report }}"
|
||||
when: coding == true
|
||||
|
||||
## Checks ##
|
||||
|
||||
@ -33,11 +37,13 @@
|
||||
stat:
|
||||
path: "{{ flutter_sdk_location }}"
|
||||
register: flutter_sdk_stat
|
||||
when: coding == true
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Check Download Exists
|
||||
stat:
|
||||
path: "{{ flutter_download_file }}"
|
||||
register: flutter_download_stat
|
||||
when: coding == true
|
||||
|
||||
## Packages ##
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user