aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorClement Delafargue <clement.delafargue@fretlink.com>2019-01-07 12:03:45 +0100
committerClement Delafargue <clement.delafargue@fretlink.com>2019-01-07 12:04:37 +0100
commit2d24afb16ca41007f823bc5bad9b18c26fea7cc5 (patch)
tree48b19202c49c56f7d84c820453616f5e208bc0dd
parent337b24ade4299038f5a2acac8acd884b390c10d7 (diff)
downloadansible-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
-rw-r--r--tasks/post_deploy.yml2
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 }}"