diff --git a/tasks/workstation/linux/software/flutter.yml b/tasks/workstation/linux/software/flutter.yml index a55d8bd..bfae0e6 100644 --- a/tasks/workstation/linux/software/flutter.yml +++ b/tasks/workstation/linux/software/flutter.yml @@ -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 != ""