Hi,
Is there a way to see the remote shell script output to the controller node terminal screen (stdout) ? I have the below shell script on a remote node.
-
name: Execute the script
#command: sh /opt/installaio.sh
raw: /opt/installaio.sh
#script: /opt/installaio.sh
register: out -
debug:
var: out.stdout_lines
On Remote client nodes
cat /opt/installaio.sh
curl http://software.internalreposandbox.com/bootstrap_4.17.09.sh -o /tmp/bootstrap_4.17.09.sh
bash /tmp/bootstrap_4.17.09.sh user=“deployuser” password=“password”
/opt/apigee/apigee-service/bin/apigee-service apigee-setup install
/opt/apigee/apigee-setup/bin/setup.sh -p aio -f /opt/configfile
Any help will be highly appreciable.
Thanks in Advance.
Best Regards,
Kaushal