Update file run_onchange_after_12-install-packages.tmpl

This commit is contained in:
Brian Zalewski 2023-01-30 08:44:16 +00:00
parent 3254eb0f87
commit b1d060fb84

View file

@ -27,8 +27,12 @@ if command -v install-program > /dev/null; then
fi fi
if [ -f "$HOME/.bashrc" ]; then if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc" . "$HOME/.bashrc"
else
logg warn 'No ~/.bashrc file to import before running install-program'
fi fi
export LC_ALL="en_US.UTF-8" export LC_ALL="en_US.UTF-8"
logg info 'Printing environment variables for GO'
env | grep GO
install-program {{ $softwareList }} install-program {{ $softwareList }}
# TODO - Figure out how to configure no logs to print to ~/.ansible.log -- should be printing to the value specified in the ansible.cfg # TODO - Figure out how to configure no logs to print to ~/.ansible.log -- should be printing to the value specified in the ansible.cfg
rm -rf "$HOME/.ansible.log" rm -rf "$HOME/.ansible.log"