Hi Kai, I got the same command working via 'shell' module & interact via - spawn/expect/send.
Though I am still wondering why pexpect doesn't do the same when I can see that the script does get triggered from process logs. BR On Tue, Dec 4, 2018, 1:17 PM Kai Stian Olstad < [email protected] wrote: > On 04.12.2018 00:02, Diptajeet Khan wrote: > > Thanks Kai! > > Yes was wondering about that but unfortunately the script ' > > /root/dadock-installer/assets/bin/configure.sh' interact when ran > > manually. > > Might be that the script detect it's not running interactively. > Since it's a shell script it should be possible to read the code and > figure out what it does. > > -- > 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/2e45db90415f404d9624eca1652389b7%40olstad.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CADFvbzm7ACLYtTbNTMV7GMrsK0%2BKNm2%3D6S-jtz2Oh2X3VuQZhA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
