Hi there,

I am stuck @ similar place where I have to say enter after y when 'Do you 
accept this license[y/n]' . I have given following CODE and stuck, Any help 
appreciated.

-Murthy




*responses:         'Press \[Enter\] to continue:': \n         'Do you 
accept this license\?\[y/n\]': y\n*


On Thursday, September 29, 2016 at 6:03:43 AM UTC-7, Vikas Kumar wrote:
>
> Hello Everyone,
>
> How can I use Ansible expect module to say yes for this prompt.
>
> Are you sure you want to continue (yes/no)?
>
> I tried to use this in vain. I think Ansible does not like characters like 
> these -  *( , / , ) , ?*
>
> - expect:
>     command: /my/command
>     responses:
>       Are you sure you want to continue (yes/no)?: yes
>
>
> Thanks in advance.
>
> Cheers,
> Vikas
>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/df813f55-1b47-42b5-b681-df2fc56f9c2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to