---
- 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\|n\]': "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 or FRESH\] type \[PUM\]': "PUM"
'Enter a new PeopleSoft database name. Ensure that the database name start 
with a letter and contains only uppercase letters and numbers and is no 
more than 8 characters in length': "FSCMU029"
'Enter the PeopleSoft database listener port [1521]': "1521"
'Enter a new PeopleSoft database admin users [SYS/SYSTEM] password. Ensure 
that the password is between 8 and 30 characters in length with at least 
one lowercase letter, one uppercase letter, one number and one special 
character \(\_\,\-\,\#\)': "System123#"
'Re-Enter the database admin users password': "System123#"
'Enter a new PeopleSoft database Connect ID. Ensure that the ID contains 
only alphanumeric characters and is at most 8 characters in length [people]': 
"people"
'Enter a new PeopleSoft database Connect ID [people] password. Ensure the 
password contains only alphanumeric characters and is between 6 and 30 
characters in length': "people"
'Re-Enter the PeopleSoft Connect ID password': "people"
'Enter a new PeopleSoft database Access ID [SYSADM] password. Ensure the 
password contains only alphanumeric characters and is between 6 and 30 
characters in length': "SYSADM"
'Re-Enter the PeopleSoft Access ID password': "SYSADM"
'Enter a new PeopleSoft database Operator ID [VP1] password. Ensure the 
password contains only alphanumeric characters and is between 1 and 32 
characters in length': "VP1"
'Re-Enter the PeopleSoft Operator ID password': "VP1"
'[Optional] Enter a new Application Server Domain connection password. 
Ensure the password contains only alphanumeric characters and is between 8 
and 30 characters in length': "System123"
'Re-Enter the Application Server Domain connection password': "System123"
'Enter a new WebLogic Server Admin user [system] password. Ensure that the 
password is between 8 and 30 characters in length with at least one 
lowercase letter, one uppercase letter, one number or one one special 
character \(\!\@\#\$\%\^\&\)': 'System@123'
'Re-Enter the WebLogic Server Admin user password': "System@123"
'Enter a new PeopleSoft WebProfile user [PTWEBSERVER] password. Ensure the 
password contains only alphanumeric characters and is between 8 and 32 
characters in length': "PTWEBSERVER"
'Re-Enter the PeopleSoft WebProfile user password': "PTWEBSERVER"
'Enter the PeopleSoft Integration Gateway user [administrator]': 
"administrator"
'Enter the PeopleSoft Integration Gateway user [administrator] password. 
Ensure the password contains only alphanumeric characters and is between 8 
and 30 characters in length': "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\|n]': 
"y"
timeout: 500

## this script is not working with some resposes

-- 
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/7f3f862f-bc1e-4380-bc40-a88194bcdc05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to