Fix for missing colors when running install-progrm

This commit is contained in:
Brian Zalewski 2023-11-07 05:42:06 +00:00
parent 966dc405a5
commit 27d03ed92a

View file

@ -43,7 +43,11 @@ if command -v install-program > /dev/null; then
env | grep JAVA env | grep JAVA
env | grep SDKMAN env | grep SDKMAN
env | grep ASDF env | grep ASDF
install-program {{ $softwareList }} if command -v unbuffer > /dev/null; then
unbuffer install-program {{ $softwareList }}
else
install-program {{ $softwareList }}
fi
# 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"
else else