Hello,
I’m trying to write a custom inventory script that sets a non standard ssh port. I’ve put the ansible_ssh variables in the _meta section of the json. These variables don’t seem to get applied. I can set it in /etc/ansible/group_vars/CDS.yml and it gets picked up. This example only tries to set the port, but my final version will need to set the username and password per host.
The json is available at: http://pastebin.com/33ySXH6H
Thanks for the help!
Michael Luich