Making a script that setups guest machines on proxmox, then gives inventory
to ansible. The problem is everything is done with a call to
subprocess.check_output ... 'ssh {proxmoxhost} ...' its been solid, but
also seems kinda silly to go through all that.
ControlPath helps, but id rather just open one ssh connection and use that
throughout the script. ive seen solutions like paramiko and pexpect, but id
like to read about your experiences to save some mistakes
the other option i was thinking of was having the script put itself and the
input files on the remote host and just run from there. kinda like what
ansible does.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f4b5936a-bf8a-40bf-b8a3-ff04c7e5eded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.