I am successful in copying and running a python program from master to slave nodes but not able to see the output of the program. Can you please let me know where i am going wrong.
1. Run ansible-playbook python.yml -v
to display additional info which includes the stdout on the remote host, or
2. Modify the playbook to include the debug info.
- name: Running the script
raw: python /home/user/target.py
- debug: var=output