Skip to content

Commit 785c8cb

Browse files
Fixing the way we locate and require Oracle home
1 parent 6cd8ed0 commit 785c8cb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cleanup-oracle.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16+
# Set calling script name for validation tasks
17+
export CALLING_SCRIPT="cleanup-oracle.sh"
18+
1619
echo Command used:
1720
echo "$0 $@"
1821
echo

roles/common/tasks/validate-oracle-home.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
The --ora-db-home-dir parameter must point to a valid Oracle Database home with a functioning Oracle binary.
176176
This should be the path to the Oracle Database software installation, not the Grid Infrastructure home.
177177
when:
178-
- calling_script != "install-oracle.sh"
178+
- calling_script == "add-database.sh"
179179
- oracle_binary.stat is defined
180180
- not oracle_binary.stat.exists | default(false) | bool
181181
- oracle_binary_alt is not defined or not oracle_binary_alt.stat.exists | default(false) | bool

0 commit comments

Comments
 (0)