It is showing the same exact error. 

On Friday, October 5, 2018 at 10:11:19 AM UTC, Brad Van Orden wrote:
>
> This is tough.  Is there a directory that pops up when the installation is 
> complete?  You could add:
>
> wait_for:
>   path: /peoplesoft
>
> or just wait for a set period of time:
>
> wait_for:  timeout=600
>
> Or may async is better?
>
> - name: Run bash file
>    expect:
>    async: 600
>    poll: 10
>      echo: yes
>      command: ./linux/setup/psft-dpk-setup.sh
>         responses:
>
> Something like that might work?
>
> On Friday, October 5, 2018 at 2:53:40 AM UTC-4, Krishan Chawla wrote:
>
>> the problem is after the fourth response of "Y" there is extraction of 
>> files and it takes time. Would this have any problem?
>>
>> On Friday, October 5, 2018 at 5:59:43 AM UTC, Krishan Chawla wrote:
>>>
>>> i tried with simplified script
>>>
>>>
>>> ---
>>> - hosts: web
>>> become: yes
>>> tasks:
>>> - name: Run bash file
>>> expect:
>>> echo: yes
>>> command: ./linux/setup/psft-dpk-setup.sh
>>> responses:
>>> 'Do you want to proceed with the Puppet Installation': "Y"
>>> 'Enter the full path of the PeopleSoft DPK directory': "/home/opc/linux"
>>> 'Enter the PeopleSoft Base Directory': "/peoplesoft"
>>> 'Are you happy with your answer\? \[Y\|n\|q\]': "Y"
>>> 'Enter the Peoplesoft installation': "PUM"
>>> 'Enter a new PeopleSoft database name': "FSCMU029"
>>> 'Enter the PeopleSoft database listener port': "1521"
>>> 'Enter a new PeopleSoft database admin users': "System123#"
>>> 'Re-Enter the database admin users password': "System123#"
>>> 'Enter a new PeopleSoft database Connect ID.': "people"
>>> 'Enter a new PeopleSoft database Connect ID [people] password': "people"
>>> 'Re-Enter the PeopleSoft Connect ID password': "people"
>>> 'Enter a new PeopleSoft database Access ID [SYSADM] password': "SYSADM"
>>> 'Re-Enter the PeopleSoft Access ID password': "SYSADM"
>>> 'Enter a new PeopleSoft database Operator ID [VP1] password': "VP1"
>>> 'Re-Enter the PeopleSoft Operator ID password': "VP1"
>>> '[Optional] Enter a new Application Server Domain connection password': 
>>> "System123"
>>> 'Re-Enter the Application Server Domain connection password': 
>>> "System123"
>>> 'Enter a new WebLogic Server Admin user [system] password': 'System@123'
>>> 'Re-Enter the WebLogic Server Admin user password': "System@123"
>>> 'Enter a new PeopleSoft WebProfile user [PTWEBSERVER] password': 
>>> "PTWEBSERVER"
>>> 'Re-Enter the PeopleSoft WebProfile user password': "PTWEBSERVER"
>>> 'Enter the PeopleSoft Integration Gateway user': "administrator"
>>> 'Enter the PeopleSoft Integration Gateway user [administrator] password': 
>>> "Passw0rd"
>>> 'Re-Enter the Integration Gateway user password': "Passw0rd"
>>> 'Are you happy with your answer? [y\|n]': "y"
>>> 'Do you want to continue with the default initialization process': "y"
>>> timeout: 500
>>>
>>>
>>> and i got the error 
>>>
>>>
>>> fatal: [[email protected]]: FAILED! => {"changed": true, "cmd": 
>>> "./linux/setup/psft-dpk-setup.sh", "delta": "0:08:21.740485", "end": 
>>> "2018-10-05 05:45:09.884143", "msg": "command exceeded timeout", "rc": 
>>> null, "start": "2018-10-05 05:36:48.143658", "stdout": 
>>> "\u001b[3;J\u001b[H\u001b[2J\r\nStarting the PeopleSoft Environment Setup 
>>> Process: \r\n\r\nValidating User Arguments: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]\r\nValidating PeopleSoft Supported Platform: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\n\r\n\r\n\r\nVerifying if 
>>> Puppet Software is Installed: \r\n\u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]\r\nVerifying if eYAML Hiera Backend is Installed: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\n\r\nPreparing the Redhat 
>>> Linux VM for PeopleSoft Environment: \r\n\r\nChecking if PeopleSoft DPKs 
>>> are Present: \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\n\r\nThe base 
>>> directory is used to extract the PeopleSoft DPKs. It is also\r\nused to 
>>> deploy the PeopleSoft components. This directory should be\r\naccessible on 
>>> the Linux VM, must have write permission and should\r\nhave enough free 
>>> space.\r\n\r\nEnter the PeopleSoft Base Directory: /peoplesoft\r\nAre you 
>>> happy with your answer? [Y|n|q]: Y\r\n\r\nChecking if the Base Directory 
>>> has Enough Free Space: Checking if Default User Home Directory /home is 
>>> Writable: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]\r\n\r\n\r\n\r\nValidating the PeopleSoft DPKs in the Linux 
>>> VM: \r\nValidating the PeopleSoft Application DPK: \u001b[70G[\u001b[1;32m  
>>> OK  \u001b[0;39m]\r\nValidating the PeopleSoft PeopleTools Server DPK: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\nValidating the Oracle Server 
>>> Database DPK: \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\nValidating the 
>>> PeopleSoft PeopleTools Client DPK: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]\r\nValidating the Elasticsearch DPK: \u001b[70G[\u001b[1;32m  
>>> OK  \u001b[0;39m]\r\nValidating the PeopleSoft PeopleTools DEP DPK: 
>>> Validating the Manifest Information in PeopleSoft DPKs: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\n\r\nExtracting the PeopleSoft 
>>> DPK Archives in the Linux VM: \r\nExtracting the Oracle Database Server DPK 
>>> Archive: \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\nExtracting the 
>>> PeopleSoft PeopleTools Server DPK Archives: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]\r\nExtracting the PeopleSoft FSCM Application DPK Archives: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\n\r\nExtracting the 8.56 
>>> PeopleSoft PeopleTools Client DPK Archive: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]\r\nExtracting the 8.55 PeopleSoft PeopleTools Client DPK 
>>> Archive: \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\nExtracting the 8.54 
>>> PeopleSoft PeopleTools Client DPK Archive: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]\r\nExtracting the Oracle Database Client DPK Archive: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\n\r\nSetting up Puppet on the 
>>> Linux VM: \r\nGenerating eYAML Hiera Backend Encryption Keys: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\nUpdating the Puppet Hiera 
>>> YAML Files in the Linux VM: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]\r\nUpdating the Role in Puppet Site File for the Linux VM: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]\r\n\r\nEnter the PeopleSoft 
>>> installation [PUM or FRESH] type [PUM]: ", "stdout_lines": 
>>> ["\u001b[3;J\u001b[H\u001b[2J", "Starting the PeopleSoft Environment Setup 
>>> Process: ", "", "Validating User Arguments: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]", "Validating PeopleSoft Supported Platform: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", "", "", "", "Verifying if 
>>> Puppet Software is Installed: ", "\u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]", "Verifying if eYAML Hiera Backend is Installed: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", "", "Preparing the Redhat 
>>> Linux VM for PeopleSoft Environment: ", "", "Checking if PeopleSoft DPKs 
>>> are Present: \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", "", "The base 
>>> directory is used to extract the PeopleSoft DPKs. It is also", "used to 
>>> deploy the PeopleSoft components. This directory should be", "accessible on 
>>> the Linux VM, must have write permission and should", "have enough free 
>>> space.", "", "Enter the PeopleSoft Base Directory: /peoplesoft", "Are you 
>>> happy with your answer? [Y|n|q]: Y", "", "Checking if the Base Directory 
>>> has Enough Free Space: Checking if Default User Home Directory /home is 
>>> Writable: \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", "", "", "", 
>>> "Validating the PeopleSoft DPKs in the Linux VM: ", "Validating the 
>>> PeopleSoft Application DPK: \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", 
>>> "Validating the PeopleSoft PeopleTools Server DPK: \u001b[70G[\u001b[1;32m  
>>> OK  \u001b[0;39m]", "Validating the Oracle Server Database DPK: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", "Validating the PeopleSoft 
>>> PeopleTools Client DPK: \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", 
>>> "Validating the Elasticsearch DPK: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]", "Validating the PeopleSoft PeopleTools DEP DPK: Validating 
>>> the Manifest Information in PeopleSoft DPKs: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]", "", "Extracting the PeopleSoft DPK Archives in the Linux 
>>> VM: ", "Extracting the Oracle Database Server DPK Archive: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", "Extracting the PeopleSoft 
>>> PeopleTools Server DPK Archives: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]", "Extracting the PeopleSoft FSCM Application DPK Archives: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", "", "Extracting the 8.56 
>>> PeopleSoft PeopleTools Client DPK Archive: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]", "Extracting the 8.55 PeopleSoft PeopleTools Client DPK 
>>> Archive: \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", "Extracting the 8.54 
>>> PeopleSoft PeopleTools Client DPK Archive: \u001b[70G[\u001b[1;32m  OK  
>>> \u001b[0;39m]", "Extracting the Oracle Database Client DPK Archive: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", "", "Setting up Puppet on the 
>>> Linux VM: ", "Generating eYAML Hiera Backend Encryption Keys: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", "Updating the Puppet Hiera 
>>> YAML Files in the Linux VM: \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", 
>>> "Updating the Role in Puppet Site File for the Linux VM: 
>>> \u001b[70G[\u001b[1;32m  OK  \u001b[0;39m]", "", "Enter the PeopleSoft 
>>> installation [PUM or FRESH] type [PUM]: "
>>>
>>> as you can see in the last line it is not taking the value PUM of the 
>>> prompted question
>>>
>>> please help.
>>>
>>>
>>> On Thursday, October 4, 2018 at 3:41:17 PM UTC, Brad Van Orden wrote:
>>>>
>>>> I would suspect it is not recognizing the third prompt.  Try to 
>>>> simplify it.  You don't need the entire phrase, just the unique part of 
>>>> it.  Also, might try adding
>>>>
>>>> echo: yes
>>>>
>>>> to see if that gives you any more details.
>>>>
>>>> On Thursday, October 4, 2018 at 11:20:59 AM UTC-4, Krishan Chawla wrote:
>>>>
>>>>> the output does not show any error message, but it is just taking the 
>>>>> first three responses and not the PUM response.
>>>>>
>>>>

-- 
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/1f58747a-28aa-451a-9a5c-d07b1a38f190%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to