diff --git a/rm_customer.sh b/rm_customer.sh deleted file mode 100755 index 397355f..0000000 --- a/rm_customer.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash -USER_DIR=./customers/$1 -(cd $USER_DIR && vagrant destroy -f) -rm -rf $USER_DIR diff --git a/roles/nginx-webserver/templates/index.php.j2 b/roles/nginx-webserver/templates/index.php.j2 index 17ddd3d..26ba16c 100644 --- a/roles/nginx-webserver/templates/index.php.j2 +++ b/roles/nginx-webserver/templates/index.php.j2 @@ -14,9 +14,10 @@
Kernel: {{ ansible_facts.kernel }}
Memory usage: {{ ansible_facts.memfree_mb }}/{{ ansible_facts.memtotal_mb }}MB
Python version: {{ ansible_facts.python_version }}
+ {% if groups['postgresql'] is defined and groups['postgresql']|length > 0 %}+ {% endif %}