users, ensure profile vars are also in rc files.

This commit is contained in:
me committed 2026-11-23 19:00:56 -07:00
1 parent 9ed1f80a9c
commit 28460198bd
1 file changed
+2
+2
View File
@@ -1396,6 +1396,7 @@
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
path: "{{ item }}/.bashrc" path: "{{ item }}/.bashrc"
block: | block: |
{{ profile_common }}
{{ rc_common }} {{ rc_common }}
# Export all functions! # # Export all functions! #
@@ -1417,6 +1418,7 @@
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
path: "{{ item }}/.zshrc" path: "{{ item }}/.zshrc"
block: | block: |
{{ profile_common }}
{{ rc_common }} {{ rc_common }}
[[ $(whoami) != "root" ]] && [[ $(whoami) != "root" ]] &&
echo "`date` - Ansible .zshrc loaded successfully!" echo "`date` - Ansible .zshrc loaded successfully!"