I’ve merged in sfromm’s patch that allows for local connections.
This will make using ansible via cron or from a kickstart trivial.
If the hostname is localhost or 127.0.0.1, or matches the uname of the system you’re on, commands will run locally versus across paramiko/SSH.
This is also nice because you won’t have to add your own SSH key to authorized_keys, and it will be faster for those cases.
–Michael