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:
|
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!"
|
||||||
|
|||||||
Reference in new issue
Block a user