Skip to content

Commit

Permalink
oraswdb_install: enable CV_ASSUME_DISTID=OL7 for Golden-Image on OL/R…
Browse files Browse the repository at this point in the history
…HEL8
  • Loading branch information
Rendanic committed Jul 13, 2023
1 parent fbc6d7e commit 222adce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelogs/fragments/assume_os.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- "oraswdb_install: enable CV_ASSUME_DISTID=OL7 for Golden-Image on OL/RHEL8 (oravirt#355)"
2 changes: 1 addition & 1 deletion roles/oraswdb_install/tasks/19.3.0.0.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: install_home_db | Install Oracle Database Server
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 %}"
ansible.builtin.shell: "{% if ansible_os_family == 'RedHat' and ansible_distribution_major_version | int == 8 %}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 %}"
# noqa command-instead-of-shell no-changed-when
become: true
become_user: "{{ oracle_user }}"
Expand Down

0 comments on commit 222adce

Please sign in to comment.