diff options
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/deploy.yml | 9 | ||||
-rw-r--r-- | tasks/setup.yml | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tasks/deploy.yml b/tasks/deploy.yml index 751d78f..5e0ba0c 100644 --- a/tasks/deploy.yml +++ b/tasks/deploy.yml | |||
@@ -16,6 +16,15 @@ | |||
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: "{{ ansible_env.HOME }}/{{ clever_user_path }}/clever-set-build-flavor.sh" | ||
22 | args: | ||
23 | chdir: "{{ clever_app_root }}" | ||
24 | environment: | ||
25 | BUILD_FLAVOR: "{{ clever_build_flavor }}" | ||
26 | CONFIGURATION_FILE: "{{ clever_login_file }}" | ||
27 | |||
19 | - name: Push Environment | 28 | - name: Push Environment |
20 | shell: "clever env import --json < {{ clever_app_confdir }}/env" | 29 | shell: "clever env import --json < {{ clever_app_confdir }}/env" |
21 | args: | 30 | args: |
diff --git a/tasks/setup.yml b/tasks/setup.yml index a2d5b90..3bf7965 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml | |||
@@ -29,3 +29,4 @@ | |||
29 | with_items: | 29 | with_items: |
30 | - clever-set-domain.sh | 30 | - clever-set-domain.sh |
31 | - clever-set-drain.sh | 31 | - clever-set-drain.sh |
32 | - clever-set-build-flavor.sh | ||