From 471c6a064bed9066ecff594d1a8a926d6d6ed14f Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Jun 05 2022 17:28:44 +0000 Subject: debugging: show rpm infos and /etc/nginx/vhosts.d/* ... for the roles that report a broken nginx config --- diff --git a/bin/test_nginx.sh b/bin/test_nginx.sh index 1351d84..f1e7fa8 100755 --- a/bin/test_nginx.sh +++ b/bin/test_nginx.sh @@ -6,6 +6,8 @@ source bin/get_colors.sh +rpm -q nginx salt salt-master + reset_nginx() { rm -rf /etc/nginx cp -a /etc/nginx_orig /etc/nginx @@ -60,6 +62,8 @@ for role in ${WEB_ROLES[@]}; do echo_PASSED else echo_FAILED + head -n1000 /etc/nginx/vhosts.d/* + echo "### end of /etc/nginx/vhosts.d/* for role $role" STATUS=1 fi echo