In my non-ansible scripts, I just sent the 'y' or the 'n' ans the request isn't for a "y[enter]" and they (the apps) can get confused when the see something other than what they want...
On Monday, September 26, 2022 at 9:17:54 AM UTC-4 [email protected] wrote: > `send "y\n"` is a "y" followed by a new-line character, which may work (I > would be surprised), but most of the 'expect' examples I'm seeing would use > `send "y\r"` which is a "y" followed by a return. > > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/54718c1d-ab12-4da6-b3ce-384ad9171d45n%40googlegroups.com.
