Thank you very much kai for your help. your suggestion worked after i escaped the question mark.
On Friday, August 12, 2016 at 2:25:45 PM UTC-4, [email protected] wrote: > > My play is like: > > - name: configuring pdf harmony > expect: > command: ./install.sh > responses: > 'This will install pdfharmony on your system. Do you want to > continue[y/N]?': y > 'Do you agree with this copyright? [y/N]': y > 'Now you must enter a valid registration number:': > XXXX-XXXX-XXXX-XXXX-XXXX > echo: yes > args: > chdir: '{{ dest_dir }}/pdfHarmony_20_L26_64' > become: yes > > error when running this play: > > {"changed": true, "cmd": "./install.sh", "delta": "0:00:30.186764", "end": > "2016-08-12 14:02:23.384237", "failed": true, "invocation": {"module_args": > {"chdir": "/usr/local/pdfHarmony_20_L26_64", "command": "./install.sh", > "creates": null, "echo": true, "removes": null, "responses": {"Do you agree > with this copyright? [y/N]": "y", "Now you must enter a valid registration > number:": "XXXX-XXXX-XXXX-XXXX-XXX", "This will install pdfharmony on your > system. Do you want to continue[y/N]?": "y"}, "timeout": 30}, > "module_name": "expect"}, "rc": 1, "start": "2016-08-12 14:01:53.197473", > "stdout": "This will install pdfharmony on your system. Do you want to > continue[y/N]? : y\r\n\u001b[H\u001b[2JWelcome to the Appligent pdfharmony > installer.\r\n\r\nAPPLIGENT INC d/b/a Appligent Document > Solutions\r\n\r\nServer Software License Agreement\r\n\r\nPlease read this > license carefully before using this software. By using any \r\nportion of > this software, you accept all terms and conditions of this agreement.\r\nIf > you do not agree with the terms of this license agreement, do not use this > \r\nsoftware. Promptly return this software UNOPENED along with the rest of > the \r\npackage and proof of payment, to the location from which you > obtained it for a \r\nfull refund.\r\n\r\nThis License allows you to use > ONE copy of the enclosed software (\"Software\") \r\non a SINGLE Server of > up to four (4) cores or on a single server with more than \r\nfour (4) > cores as detailed in the Purchase Agreement. You may make one backup > \r\ncopy of the Software for disaster recovery purposes, provided your > backup is not\r\ninstalled or used on any computer. You may not run the > Software over a Network \r\nfrom a mounted or mapped drive. You may not > copy the software to use for \r\ndevelopment, testing or staging > purposes.\r\n\r\n1. Restrictions: You may not resell, transfer, rent or > lease the Software \r\nwithout the specific agreement of Appligent. You may > not reverse engineer, \r\n\u001b[7m--More--\u001b[27m", "stdout_lines": > ["This will install pdfharmony on your system. Do you want to > continue[y/N]? : y", "\u001b[H\u001b[2JWelcome to the Appligent pdfharmony > installer.", "", "APPLIGENT INC d/b/a Appligent Document Solutions", > "", "Server Software License Agreement", "", "Please read this license > carefully before using this software. By using any ", "portion of this > software, you accept all terms and conditions of this agreement.", "If you > do not agree with the terms of this license agreement, do not use this ", > "software. Promptly return this software UNOPENED along with the rest of > the ", "package and proof of payment, to the location from which you > obtained it for a ", "full refund.", "", "This License allows you to use > ONE copy of the enclosed software (\"Software\") ", "on a SINGLE Server of > up to four (4) cores or on a single server with more than ", "four (4) > cores as detailed in the Purchase Agreement. You may make one backup ", > "copy of the Software for disaster recovery purposes, provided your backup > is not", "installed or used on any computer. You may not run the Software > over a Network ", "from a mounted or mapped drive. You may not copy the > software to use for ", "development, testing or staging purposes.", "", "1. > Restrictions: You may not resell, transfer, rent or lease the Software ", > "without the specific agreement of Appligent. You may not reverse engineer, > ", "\u001b[7m--More--\u001b[27m"]} > > when installing manually, > Here when you pass y to the first prompt, you get a copyright agreement > which is more than a page and you will find --More-- at the end of the page > and when keep on pressing enter last line of the agreement the second > prompt(question appears) like > > > <https://lh3.googleusercontent.com/-VcmdTELGCHw/V64UTztsq_I/AAAAAAAAAEg/8FaEIxz3UgE5G0weMQHTB3nRMOnlTrujwCLcB/s1600/pdf.PNG> > > when you keep pressing enter it comes to > > > <https://lh3.googleusercontent.com/-zQGiuZ2ayfw/V64Uh-67GnI/AAAAAAAAAEk/1JZNpIJoONsj39_Lp39sI-15sAJPjZqIQCLcB/s1600/last.PNG> > > > What is the exact problem i am not able to understand > > -- 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/a78ee16a-1a0a-41cf-97bc-e124ad06b76e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
