flutter, fix PATH for interactive sessions.

This commit is contained in:
me committed 2026-11-29 20:04:35 -07:00
1 parent 2bdf59286d
commit 5b8d9dd6de
1 file changed
+19 -2
+19 -2
View File
@@ -136,7 +136,24 @@
## Configure Environment ##
# TBD: Remove after 2027-02-01.
- name: Workstation | Linux | Software | Flutter | Modify PATH (profiles)
ansible.builtin.blockinfile:
path: "{{ user_user.home }}/{{ item }}"
block: |
export FLUTTER_HOME="{{ flutter_home }}"
export PATH="{{ flutter_bin }}:$PATH"
marker: '# {mark} MANAGED BY ANSIBLE | Flutter'
state: absent
create: true
backup: true
mode: "0755"
loop:
- ".bash_profile"
- ".zprofile"
when: user_user.home != ""
- name: Workstation | Linux | Software | Flutter | Modify PATH (rc)
ansible.builtin.blockinfile:
path: "{{ user_user.home }}/{{ item }}"
block: |
@@ -148,8 +165,8 @@
backup: true
mode: "0755"
loop:
- ".bash_profile"
- ".zprofile"
- ".bashrc"
- ".zshrc"
- ".profile"
when: user_user.home != ""