I like to use paramiko for these types of things. Of course I don't have
all the details but from the info you have provided it seems like you
should be able to do this with ansible itself.
Regards,
Robert
___
Tutor maillist - Tutor@python.org
To unsub
Alan Gauld wrote:
> But there is a python wrapoper round expect - pexpect - that
> means you don't need to learn Tcl ;)
>
> https://github.com/pexpect/pexpect
Interesting, thanks. And better yet, it's not just a wrapper
around Expect: "Pexpect is in the spirit of Don Libes' Expect,
but Pexpect i
On 25/11/15 08:27, Patrick Hess wrote:
> richard kappler wrote:
>> and I want the script to detect that password request and provide the
>> password (Same for all 500 + machines, so no issue there).
>
> My recommendation would be to take a look at Expect[1].
>
> Yes, I know, it's not Python, but
richard kappler wrote:
> and I want the script to detect that password request and provide the
> password (Same for all 500 + machines, so no issue there).
My recommendation would be to take a look at Expect[1].
Yes, I know, it's not Python, but using a tool specifically
tailored to handle this k