diff --git a/playbooks/roles/debug/tasks/main.yml b/playbooks/roles/debug/tasks/main.yml index e762db2..61cdd85 100644 --- a/playbooks/roles/debug/tasks/main.yml +++ b/playbooks/roles/debug/tasks/main.yml @@ -2,14 +2,14 @@ copy: src: files/debug.py dest: /usr/local/bin/debug.py - mode: 0755 - + mode: 0755 + - name: Run the script - command: /usr/local/bin/debug.py '{{ msg | to_json }}' + command: /usr/local/bin/debug.py "{{ msg | to_json }}" register: output environment: TEST_VARIABLE: "{{ debug_token }}" - + - name: Show the output of the script debug: msg: "Output of the script: {{ output }}" diff --git a/playbooks/roles/flag_build_commits/tasks/main.yml b/playbooks/roles/flag_build_commits/tasks/main.yml index c84df5a..c436910 100644 --- a/playbooks/roles/flag_build_commits/tasks/main.yml +++ b/playbooks/roles/flag_build_commits/tasks/main.yml @@ -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 }}" register: output environment: API_TOKEN: "{{ api_token_flag_commit_build }}" diff --git a/playbooks/roles/flag_ci_pr/tasks/main.yml b/playbooks/roles/flag_ci_pr/tasks/main.yml index 7f0d2f7..580d0b9 100644 --- a/playbooks/roles/flag_ci_pr/tasks/main.yml +++ b/playbooks/roles/flag_ci_pr/tasks/main.yml @@ -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 }}" register: output environment: API_TOKEN: "{{ api_token_flag_pr_ci }}"