Skip to content

Commit 10c234a

Browse files
talekRendanic
authored andcommitted
Additional checks for applying the CV_ASSUME workaround
1 parent b79cc9b commit 10c234a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roles/oraswdb_install/tasks/19.3.0.0.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
- name: install_home_db | Install Oracle Database Server
3-
ansible.builtin.shell: "CV_ASSUME_DISTID=OL7 {{ oracle_home_db }}/runInstaller -responseFile {{ oracle_rsp_stage }}/{{ oracle_db_responsefile }} -ignorePrereq -silent -waitforcompletion {% if db_homes_config[dbh.home]['oracle_home_name'] is defined %}ORACLE_HOME_NAME={{ db_homes_config[dbh.home]['oracle_home_name'] }}{% endif %}"
3+
ansible.builtin.shell: "{% if ansible_os_family == 'RedHat' and ansible_distribution_major_version | int == 8 and db_homes_config[dbh.home]['imagename'] is not defined %}CV_ASSUME_DISTID=OL7 {% endif %}{{ oracle_home_db }}/runInstaller -responseFile {{ oracle_rsp_stage }}/{{ oracle_db_responsefile }} -ignorePrereq -silent -waitforcompletion {% if db_homes_config[dbh.home]['oracle_home_name'] is defined %}ORACLE_HOME_NAME={{ db_homes_config[dbh.home]['oracle_home_name'] }}{% endif %}"
4+
# noqa command-instead-of-shell
45
become: true
56
become_user: "{{ oracle_user }}"
67
run_once: "{{ configure_cluster }}"

0 commit comments

Comments
 (0)