users, ensure profile vars are also in rc files.
This commit is contained in:
1 parent
9ed1f80a9c
commit
28460198bd
1 file changed
+2
@@ -1396,6 +1396,7 @@
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ item }}/.bashrc"
|
||||
block: |
|
||||
{{ profile_common }}
|
||||
{{ rc_common }}
|
||||
|
||||
# Export all functions! #
|
||||
@@ -1417,6 +1418,7 @@
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ item }}/.zshrc"
|
||||
block: |
|
||||
{{ profile_common }}
|
||||
{{ rc_common }}
|
||||
[[ $(whoami) != "root" ]] &&
|
||||
echo "`date` - Ansible .zshrc loaded successfully!"
|
||||
|
||||
Reference in new issue
Block a user