Add exporting of all functions, same as done in env-shared.
This commit is contained in:
1 parent
4fd3e43e0d
commit
5e8d188871
1 file changed
+4
@@ -1187,6 +1187,10 @@
|
||||
path: "{{ item }}/.bashrc"
|
||||
block: |
|
||||
{{ rc_common }}
|
||||
|
||||
# Export all functions! #
|
||||
eval "$(declare -F | grep -v _ | sed 's/-f /-fx /')"
|
||||
|
||||
[[ $(whoami) != "root" ]] &&
|
||||
echo "`date` - Ansible .bashrc loaded successfully!"
|
||||
marker: '# {mark} MANAGED BY ANSIBLE | Aliases'
|
||||
|
||||
Reference in new issue
Block a user