From 4c36fd075c85e30c13b86447ec91dd673dc654dd Mon Sep 17 00:00:00 2001 From: Ludovic Poujol Date: Mon, 19 Mar 2018 16:47:28 +0100 Subject: [PATCH] webapps/evoadmin-web: Fail if variable evoadmin_contact_email isn't defined --- CHANGELOG.md | 1 + webapps/evoadmin-web/tasks/main.yml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f42c9241..b852b93b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ The **patch** part changes incrementally at each release. * mongodb: configuration is forced by default but it's configurable (default: `false`) * nginx: package name can be specified (default: `nginx-full`) * evolinux-base: Exec the firewall tasks sooner (to avoid dependency issues) +* webapps/evoadmin-web: Fail if variable evoadmin_contact_email isn't defined ### Fixed * nginx: fix basic auth for default vhost diff --git a/webapps/evoadmin-web/tasks/main.yml b/webapps/evoadmin-web/tasks/main.yml index 185549aa..00df6cc4 100644 --- a/webapps/evoadmin-web/tasks/main.yml +++ b/webapps/evoadmin-web/tasks/main.yml @@ -1,5 +1,9 @@ --- +- fail: + msg: Please configure var evoadmin_contact_email +when: evoadmin_contact_email is none + - include: packages.yml - include: user.yml @@ -18,4 +22,3 @@ marker: "" block: |
  • Interface admin web (EvoAdmin-web)
  • -