diff options
author | Clement Delafargue <clement.delafargue@fretlink.com> | 2019-01-07 12:03:45 +0100 |
---|---|---|
committer | Clement Delafargue <clement.delafargue@fretlink.com> | 2019-01-07 12:04:37 +0100 |
commit | 2d24afb16ca41007f823bc5bad9b18c26fea7cc5 (patch) | |
tree | 48b19202c49c56f7d84c820453616f5e208bc0dd /tasks/post_deploy.yml | |
parent | 337b24ade4299038f5a2acac8acd884b390c10d7 (diff) | |
download | ansible-clever-2d24afb16ca41007f823bc5bad9b18c26fea7cc5.tar.gz ansible-clever-2d24afb16ca41007f823bc5bad9b18c26fea7cc5.tar.zst ansible-clever-2d24afb16ca41007f823bc5bad9b18c26fea7cc5.zip |
fix(deploy): properly quote variables in environment files
adding exports in the env file also quotes the variable values
Diffstat (limited to 'tasks/post_deploy.yml')
-rw-r--r-- | tasks/post_deploy.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/post_deploy.yml b/tasks/post_deploy.yml index 11116e8..55b2184 100644 --- a/tasks/post_deploy.yml +++ b/tasks/post_deploy.yml | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | - name: Retrieve clever env if needed | 2 | - name: Retrieve clever env if needed |
3 | shell: "clever env > {{ clever_env_output_file }}" | 3 | shell: "clever env --add-export > {{ clever_env_output_file }}" |
4 | args: | 4 | args: |
5 | chdir: "{{ clever_app_root }}" | 5 | chdir: "{{ clever_app_root }}" |
6 | creates: "{{ clever_env_output_file }}" | 6 | creates: "{{ clever_env_output_file }}" |