An arbitrary host var can be set in my hostfiles/inventory file:
[www]
myserver.blah.com ansible_connection=MY_NEW_CONNECTION someVar1=abc
Now… in plugins/connection_plugins/MY_NEW_CONNECTION.py…
how do i access someVar1?
I’m looking at the ssh.py example and i see an init function, but i traced
out all those incoming vars and dont see it.
https://github.com/ansible/ansible/blob/devel/lib/ansible/runner/connection_plugins/ssh.py
Thank you.