From fc80fa69394ecb66c0ade28317251af6783ccf91 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Aug 2021 14:17:35 -0400 Subject: [PATCH] OpenVPN /usr/bin/iiab-support: Brighter white-on-red warnings --- roles/openvpn/templates/iiab-support | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/openvpn/templates/iiab-support b/roles/openvpn/templates/iiab-support index 3c49e95fe..ac5a5967a 100755 --- a/roles/openvpn/templates/iiab-support +++ b/roles/openvpn/templates/iiab-support @@ -44,8 +44,8 @@ INVENTORY="ansible_hosts" echo -e "\e[0m" # Turn off all ANSI/VT100 colors if [ -f /etc/iiab/openvpn_handle ]; then - echo -e "\n \e[41mFYI /etc/iiab/openvpn_handle is no longer supported.\e[0m\n" - echo -e " \e[41m/etc/iiab/local_vars.yml is now used instead (SSOT).\e[0m\n\n" + echo -e "\n \e[41;1mFYI /etc/iiab/openvpn_handle is no longer supported.\e[0m\n" + echo -e " \e[41;1m/etc/iiab/local_vars.yml is now used instead (SSOT).\e[0m\n\n" fi # (1), (2), (3) and (4) for now -- then (5) and (6) further below @@ -129,7 +129,7 @@ else # 2 roles (sshd & openvpn) faster than running all of "./runrole 1-prep" echo else - echo -e " \e[41m Directory /opt/iiab/iiab does not exist: CANNOT INSTALL OPENVPN! \e[0m\n" + echo -e " \e[41;1m Directory /opt/iiab/iiab does not exist: CANNOT INSTALL OPENVPN! \e[0m\n" exit 1 fi fi @@ -181,6 +181,6 @@ vpnip=$(ip a | grep tun0$ | awk '{print $2}') if [ "$vpnip" != "" ]; then echo -e "Your OpenVPN IP address (which can change) is: \e[32m$vpnip\e[0m\n" else - echo -e "\n \e[41m ERROR: OpenVPN IP address not ready - PLEASE TRY THE ABOVE TIPS \e[0m\n" + echo -e "\n \e[41;1m ERROR: OpenVPN IP address not ready - PLEASE TRY THE ABOVE TIPS \e[0m\n" exit 1 fi