Skip to content

Commit

Permalink
oraswdb_install: Configure systemd only for Single Instance without G…
Browse files Browse the repository at this point in the history
…I/Restart
  • Loading branch information
Rendanic committed Apr 22, 2024
1 parent 610f983 commit c5c8158
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelogs/fragments/systemd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- "oraswdb_install: Configure systemd only for Single Instance without GI/Restart (oravirt#431)"
4 changes: 3 additions & 1 deletion roles/oraswdb_install/tasks/systemd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# Configure systemd only for Single-Instance without GI/Restart
- name: install_home_db | Configure oracle-rdbms auto-startup service (systemd.d)
ansible.builtin.template:
src: oracle-rdbms-service.j2
Expand All @@ -12,8 +13,9 @@
with_items: "{{ db_homes_installed }}"
when:
- autostartup_service
- oracle_install_option_gi | default('') | length == 0
- hostinitdaemon == "systemd"
- item.state|lower == 'present'
- item.state | lower == 'present'
tags:
- autostartup_service
- seclimit # Update template when ulimits have been chagned as well.

0 comments on commit c5c8158

Please sign in to comment.