From 1157a45f9ca2f579b11462865271379d175127fc Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Fri, 28 Sep 2018 11:14:12 +0200 Subject: domain: allow the domain to be specified via clever_domain variable Every other variables are prefixed with `clever_` which makes the definition of variables clearer from a "app" configuration point of view. WDYT? --- tasks/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tasks') diff --git a/tasks/deploy.yml b/tasks/deploy.yml index 4b3f48b..205eb2b 100644 --- a/tasks/deploy.yml +++ b/tasks/deploy.yml @@ -6,10 +6,10 @@ CONFIGURATION_FILE: "{{ clever_login_file }}" - name: Configure Domain - when: domain is defined + when: domain is defined or clever_domain is defined command: clever-set-domain.sh environment: - DOMAIN: "{{ domain }}" + DOMAIN: "{{ clever_domain | default(domain) }}" CONFIGURATION_FILE: "{{ clever_login_file }}" - name: Push Environment -- cgit v1.2.3