diff options
author | paulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com> | 2018-09-28 11:31:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-28 11:31:35 +0200 |
commit | ec83672c5e269ba349f74829406aeed87ecd414b (patch) | |
tree | b4fdb60a3d47943f83391214c2a9b9a5835fc250 /tasks/deploy.yml | |
parent | da999d16b410b3b6892c4ffa692c1a860d1e2781 (diff) | |
parent | 1157a45f9ca2f579b11462865271379d175127fc (diff) | |
download | ansible-clever-ec83672c5e269ba349f74829406aeed87ecd414b.tar.gz ansible-clever-ec83672c5e269ba349f74829406aeed87ecd414b.tar.zst ansible-clever-ec83672c5e269ba349f74829406aeed87ecd414b.zip |
Merge pull request #13 from paulrbr-fl/prefix-domain-variablev1.4
domain: allow the domain to be specified via clever_domain variable
Diffstat (limited to 'tasks/deploy.yml')
-rw-r--r-- | tasks/deploy.yml | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
6 | CONFIGURATION_FILE: "{{ clever_login_file }}" | 6 | CONFIGURATION_FILE: "{{ clever_login_file }}" |
7 | 7 | ||
8 | - name: Configure Domain | 8 | - name: Configure Domain |
9 | when: domain is defined | 9 | when: domain is defined or clever_domain is defined |
10 | command: clever-set-domain.sh | 10 | command: clever-set-domain.sh |
11 | environment: | 11 | environment: |
12 | DOMAIN: "{{ domain }}" | 12 | DOMAIN: "{{ clever_domain | default(domain) }}" |
13 | CONFIGURATION_FILE: "{{ clever_login_file }}" | 13 | CONFIGURATION_FILE: "{{ clever_login_file }}" |
14 | 14 | ||
15 | - name: Push Environment | 15 | - name: Push Environment |