flutter, fix lint issues.
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
block:
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Download SDK
|
||||
get_url:
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ flutter_url }}"
|
||||
dest: "{{ flutter_download_file }}"
|
||||
owner: "{{ user }}"
|
||||
@@ -109,7 +109,7 @@
|
||||
mode: '0755'
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Extract SDK
|
||||
unarchive:
|
||||
ansible.builtin.unarchive:
|
||||
src: "{{ flutter_download_file }}"
|
||||
dest: "{{ flutter_sdk_location }}"
|
||||
owner: "{{ user }}"
|
||||
@@ -137,10 +137,10 @@
|
||||
state: absent
|
||||
create: true
|
||||
backup: true
|
||||
mode: "0755"
|
||||
loop:
|
||||
- "{{ user_root.home }}"
|
||||
- "{{ user_user.home }}"
|
||||
ignore_errors: true
|
||||
when: coding
|
||||
and user_root.home != ""
|
||||
and user_user.home != ""
|
||||
@@ -154,10 +154,10 @@
|
||||
state: absent
|
||||
create: true
|
||||
backup: true
|
||||
mode: "0755"
|
||||
loop:
|
||||
- "{{ user_root.home }}"
|
||||
- "{{ user_user.home }}"
|
||||
ignore_errors: true
|
||||
when: coding
|
||||
and user_root.home != ""
|
||||
and user_user.home != ""
|
||||
@@ -171,10 +171,10 @@
|
||||
state: present
|
||||
create: true
|
||||
backup: true
|
||||
mode: "0755"
|
||||
loop:
|
||||
- ".bash_profile"
|
||||
- ".zprofile"
|
||||
ignore_errors: true
|
||||
when: coding
|
||||
and user_user.home != ""
|
||||
|
||||
@@ -185,6 +185,8 @@
|
||||
loop: "{{ flutter_report_commands }}"
|
||||
become: true
|
||||
become_user: "{{ user }}"
|
||||
register: shell_check
|
||||
changed_when: shell_check.rc == 0
|
||||
when: coding
|
||||
|
||||
## Uninstall SDK ##
|
||||
|
||||
Reference in New Issue
Block a user