diff options
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/post_deploy.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tasks/post_deploy.yml b/tasks/post_deploy.yml new file mode 100644 index 0000000..11116e8 --- /dev/null +++ b/tasks/post_deploy.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | --- | ||
2 | - name: Retrieve clever env if needed | ||
3 | shell: "clever env > {{ clever_env_output_file }}" | ||
4 | args: | ||
5 | chdir: "{{ clever_app_root }}" | ||
6 | creates: "{{ clever_env_output_file }}" | ||
7 | environment: | ||
8 | CONFIGURATION_FILE: "{{ clever_login_file }}" | ||
9 | when: clever_env_output_file is defined | ||