Below I have the Ansible YAML file:
- name: "script1"
command: /home/test/script1.py
register: output
- name: "script2"
command: /home/test/script2.py
I need script2.py
to see the output of script1
.
How would I pass the values from Ansible to script2
?