Properly quote the json messages
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
c20b91e30d
commit
eae028b31d
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
mode: 0755
|
||||
|
||||
- name: Run the script
|
||||
command: /usr/local/bin/debug.py "{{ msg | to_json }}"
|
||||
command: /usr/local/bin/debug.py {{ msg | to_json | quote }}
|
||||
register: output
|
||||
environment:
|
||||
TEST_VARIABLE: "{{ debug_token }}"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
mode: 0755
|
||||
|
||||
- name: Run the script
|
||||
command: /usr/local/bin/flag_commit_build.py "{{ msg | to_json }}"
|
||||
command: /usr/local/bin/flag_commit_build.py {{ msg | to_json | quote }}
|
||||
register: output
|
||||
environment:
|
||||
API_TOKEN: "{{ api_token_flag_commit_build }}"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
mode: 0755
|
||||
|
||||
- name: Run the script
|
||||
command: /usr/local/bin/flag_ci_pr.py "{{ msg | to_json }}"
|
||||
command: /usr/local/bin/flag_ci_pr.py {{ msg | to_json | quote }}
|
||||
register: output
|
||||
environment:
|
||||
API_TOKEN: "{{ api_token_flag_pr_ci }}"
|
||||
|
|
Reference in a new issue