Overview
I used Ansible to install Oracle Client 12.1.0.2 onto CLIFTON .
Procedure
Installation Using Ansible
From AUBURN , I ran the following command:
ansible-playbook -K clifton.yml
The relevant part of the output was:
TASK [oracle_client : output from Install Oracle Client 12.1.0.2 Software Only in Silent Mode] *************************************************************************************************************
ok: [clifton.yaocm.id.au] => {
"client_sw_install_result.stdout_lines": [
"Starting Oracle Universal Installer...",
"",
"Checking Temp space: must be greater than 415 MB. Actual 39690 MB Passed",
"Checking swap space: must be greater than 150 MB. Actual 3711 MB Passed",
"Preparing to launch Oracle Universal Installer from /tmp/OraInstall2020-01-09_10-29-11AM. Please wait ...You can find the log of this install session at:",
" /opt/app/oraInventory/logs/installActions2020-01-09_10-29-11AM.log",
"The installation of Oracle Client 12c was successful.",
"Please check '/opt/app/oraInventory/logs/silentInstall2020-01-09_10-29-11AM.log' for more details.",
"",
"As a root user, execute the following script(s):",
"\t1. /opt/app/oraInventory/orainstRoot.sh",
"",
"",
"",
"Successfully Setup Software.",
"As install user, execute the following script to complete the configuration.",
"\t1. /opt/app/oracle/product/12.1.0.2/client/cfgtoollogs/configToolAllCommands RESPONSE_FILE=<response_file>",
"",
" \tNote:",
"\t1. This script must be run on the same host from where installer was run. ",
"\t2. This script needs a small password properties file for configuration assistants that require passwords (refer to install guide documentation)."
]
}
TASK [oracle_client : Run orainstRoot.sh after Oracle Client 12.1.0.2 Software Installation] ***************************************************************************************************************
changed: [clifton.yaocm.id.au]
TASK [oracle_client : Output from orainstRoot.sh script] ***************************************************************************************************************************************************
ok: [clifton.yaocm.id.au] => {
"orainstRoot.stdout_lines": [
"Changing permissions of /opt/app/oraInventory.",
"Adding read,write permissions for group.",
"Removing read,write,execute permissions for world.",
"",
"Changing groupname of /opt/app/oraInventory to oinstall.",
"The execution of the script is complete."
]
}
Run Configure Tools Manually
In this version of oracle_client , I had not implemented the execution of the configToolAllCommands script. I had to run this script manually on CLIFTON:
/opt/app/oracle/product/12.1.0.2/client/cfgtoollogs/configToolAllCommands
I did not code up a response file because I did not consider any client tools to need passwords.
The log file ( /opt/app/oracle/product/12.1.0.2/client/cfgtoollogs/oui/configActions2020-01-09_01-06-15-PM.log ) showed:
################################################### The action configuration is performing The action configuration has successfully completed ###################################################