From 63b959c8cdf428027b5a3011159b1533e848b45d Mon Sep 17 00:00:00 2001
From: strNophix
Date: Tue, 15 Mar 2022 08:34:58 +0100
Subject: [PATCH] Better indication no postgres instance detected
---
roles/nginx-webserver/templates/index.php.j2 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/roles/nginx-webserver/templates/index.php.j2 b/roles/nginx-webserver/templates/index.php.j2
index 26ba16c..80f0b42 100644
--- a/roles/nginx-webserver/templates/index.php.j2
+++ b/roles/nginx-webserver/templates/index.php.j2
@@ -28,6 +28,8 @@
var_dump(pg_fetch_all($result));
?>
+ {% else %}
+ No postgres instance detected.
{% endif %}