Fix for missing colors when running install-progrm
This commit is contained in:
parent
966dc405a5
commit
27d03ed92a
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
if command -v unbuffer > /dev/null; then
|
||||||
|
unbuffer install-program {{ $softwareList }}
|
||||||
|
else
|
||||||
install-program {{ $softwareList }}
|
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
|
||||||
|
|
Loading…
Reference in a new issue