This repository has been archived on 2025-06-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
loopabull-tasks/playbooks/org.fedoraproject.prod.buildsys.build.state.change.yml
Pierre-Yves Chibon a9afa51eef Remove typo
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-08-08 12:33:28 +02:00

27 lines
567 B
YAML

---
- name: buildsys.build.state.change
hosts: localhost
gather_facts: false
tasks:
- debug: var=msg
- name: run my own script
hosts: localhost
gather_facts: false
tasks:
- name: Install my own script
copy:
src: files/debug.py
dest: /usr/local/bin/debug.py
mode: 0755
- name: Run the script
command: /usr/local/bin/debug.py '{{ msg | to_json }}'
register: output
environment:
TEST_VARIABLE: \ó/
- name: Show the output of the script
debug:
msg: "Output of the script: {{ output }}"