Hi,
Thanks for your reply, but when i pass '--More--': \r . it is failing
at
"\u001b[7m--More--\u001b[27m\u0007\u0007", "Updates may be licensed to you
by Appligent with additional or different terms.", "", "Do you agree with
this copyright? [y/N] : "]}
it is like not listening to my next response after more.. i am not able to
understand how this is happening
it is not taking my response for
'Do you agree with this copyright? [y/N]': y
i have added more and now it looks 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
'--More--': \r
'(?i)Do you agree with this copyright? [y/N]': y
'Now you must enter a valid registration number':
PDFR-N26R-PP20-G1DK-9TGQ-0008
echo: yes
args:
chdir: '{{ dest_dir }}/pdfHarmony_20_L26_64'
become: yes
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/b22c491e-e93b-4bd2-99b8-f05d1bb4283b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.