Re: [ansible-project] Issue connecting to CLI on storage device

5 views
Skip to first unread message

Kai Stian Olstad

unread,
Sep 28, 2018, 3:56:48 PM9/28/18
to ansible...@googlegroups.com
On Wednesday, 26 September 2018 03.15.28 CEST budhac wrote:
> I am wondering if there is a way use Ansible to authenticate and execute a
> generic command payload. I have tried the shell, raw, and command modules
> but each with the similar error as above.
>
> ssh us...@192.168.1.50 "showwsapi"
>
>
>
> Hopefully this makes sense.
>
> Any help or guidance would be appreciated.

You need to use the expect module.

--
Kai Stian Olstad


Reply all
Reply to author
Forward
0 new messages