Expect module is not taking the password!
Task:
- expect:
command: ssh -l admin localhost -p 10000
responses:
admin@localhost's password: "xyz"
Error:
TASK [unpresentrepo : expect]
***********************************************************************************************************************************************************************
fatal: [10.100.100.187]: FAILED! => {"changed": true, "cmd": "ssh -l admin
localhost -p 10000", "delta": "0:00:30.592311", "end": "2017-07-28
13:12:23.385812", "failed": true, "rc": 255, "start": "2017-07-28
13:11:52.793501", "stdout": "admin@localhost's password: \r\nOVM> ",
"stdout_lines": ["admin@localhost's password: ", "OVM> "]}
to retry, use: --limit @/home/sara.bckup.priv/main.retry
Please help!
--
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/9c502a15-511b-4152-9950-d2bf35e0fe75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.