Hi, Give Ansible's "expect" module a try. (It will require Python3's "pexpect")
I used it for an interactive software installation and it worked pretty well for me. Alex On Tue, Feb 15, 2022 at 1:51 PM Ansar Sahit <sahitan...@gmail.com> wrote: > > Hi all, > > I have an interactive shell script(vendor install script ) that i need to > run. > The script has 50+ Q's and i used Ansible shell module with "expect" args > to automate it . > Manually the script takes 10+ mins to complete. > In shell module i added async of 1000 as well. > Though the playbook succeeds, the script doesn't install all the > necessities that it should do. > Manually it installs all the requirements and completes it's job. > But via Ansible its not completing the script. > > Can someone suggest what needs to be done?? > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CABNWynCRc-jFroRGVezWauMZvLSNXRtD7pJh%2BWma-EJFArsFcw%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CABNWynCRc-jFroRGVezWauMZvLSNXRtD7pJh%2BWma-EJFArsFcw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- [image: Edmonton_sig_RGB_S.jpg] Alex Wanderley Application and Infrastructure Analyst II Acting Team Lead Storage and Backup Solutions Financial and Corporate Services | Open City and Technology 780-496-4156 Office 780-819-0273 Mobile City of Edmonton Century Place, 19th Floor 9803 102A Avenue NW Edmonton AB, T5J 3A3 All information contained in this email post is proprietary to the City of Edmonton, confidential and intended only for the addressed recipient. If you have received this post in error, please disregard the contents, inform the sender of the misdirection, and remove it from your system. The copying, dissemination or distribution of this email, if misdirected, is strictly prohibited. -- *The contents of this message and any attachment(s) are confidential, proprietary to the City of Edmonton, and are intended only for the addressed recipient. If you have received this in error, please disregard the contents, inform the sender of the misdirection, and remove it from your system. The copying, dissemination, or distribution of this message, if misdirected, is strictly prohibited.* -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADp8UUROuNOVSu_s5E9KFyby3kk-_RwQRVGBPtbLQn0nrNFWAg%40mail.gmail.com.