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 [email protected] "showwsapi" > > > > Hopefully this makes sense. > > Any help or guidance would be appreciated.
You need to use the expect module. -- Kai Stian Olstad -- 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/1546861.UZ9GT2VLzS%40x1. For more options, visit https://groups.google.com/d/optout.
