diff options
author | Clément Delafargue <39330590+clementd-fretlink@users.noreply.github.com> | 2020-06-19 15:18:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 15:18:13 +0200 |
commit | af67286adea7da4e01883bb6c60f44a6141e439f (patch) | |
tree | 21fa5a6f7e5439c2548432f0c3b0f164cfb50fcb /tasks | |
parent | 18c278e2d8f19fe1066908bd6bc631bdb8472333 (diff) | |
parent | 8a5d45d789cdb5739f2f6e8490e02b9ffdfa8b2e (diff) | |
download | ansible-clever-af67286adea7da4e01883bb6c60f44a6141e439f.tar.gz ansible-clever-af67286adea7da4e01883bb6c60f44a6141e439f.tar.zst ansible-clever-af67286adea7da4e01883bb6c60f44a6141e439f.zip |
Merge pull request #55 from clementd-fretlink/build-flavor
Add optional build flavor configuration
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/deploy.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tasks/deploy.yml b/tasks/deploy.yml index 751d78f..ca1e54a 100644 --- a/tasks/deploy.yml +++ b/tasks/deploy.yml | |||
@@ -16,6 +16,14 @@ | |||
16 | DOMAIN: "{{ clever_domain | default(domain) }}" | 16 | DOMAIN: "{{ clever_domain | default(domain) }}" |
17 | CONFIGURATION_FILE: "{{ clever_login_file }}" | 17 | CONFIGURATION_FILE: "{{ clever_login_file }}" |
18 | 18 | ||
19 | - name: Configure Build Instance | ||
20 | when: clever_build_flavor is defined | ||
21 | command: "clever scale --build-flavor {{ clever_build_flavor }}" | ||
22 | args: | ||
23 | chdir: "{{ clever_app_root }}" | ||
24 | environment: | ||
25 | CONFIGURATION_FILE: "{{ clever_login_file }}" | ||
26 | |||
19 | - name: Push Environment | 27 | - name: Push Environment |
20 | shell: "clever env import --json < {{ clever_app_confdir }}/env" | 28 | shell: "clever env import --json < {{ clever_app_confdir }}/env" |
21 | args: | 29 | args: |