Add exporting of all functions, same as done in env-shared.
This commit is contained in:
@@ -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