Hi all,
I’m trying to use the python script that you gave as example:
https://github.com/ansible/ansible/blob/devel/examples/scripts/uptime.py
but I want each connection to use different port (that I will get dynamically from MySQL)
I didn’t mange to pass to the host_list variable JSON or give it any other way.
Any idea how I can do it?
The list of hosts is not always the same, and everytime each host could have different port ( this data I could retrieve as JSON)
Thank you