ajout instal_oracle_sw

This commit is contained in:
Yacine31
2021-06-21 01:25:13 +02:00
parent fabc0e75e5
commit dbe90cb8e2
25 changed files with 4060 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
# {{ ansible_managed }}
#!/bin/bash
chkifinstalled=`grep "{{ db_home }}" "{{ oracle_inventory_loc }}/ContentsXML/inventory.xml" |wc -l`
if [[ $chkifinstalled == 1 ]]; then
echo "Error: ORACLE_HOME: {{ db_home }} already present. Exiting"
exit 0
else
{{ oracle_stage }}/database/runInstaller -responseFile {{ oracle_stage }}/{{ db_response_file }} -ignorePrereq -ignoreSysPrereqs -silent -waitforcompletion
fi