Skip to content

Commit

Permalink
Merge pull request #482 from berndfinger/issue-479
Browse files Browse the repository at this point in the history
Fix issue #479
  • Loading branch information
berndfinger authored Sep 28, 2023
2 parents 0fc8625 + bad8974 commit 79de6a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# the value of the 'mode' member ('permissive' or 'enforcing')
- name: SELinux - Set an SELinux mode variable
ansible.builtin.set_fact:
__sap_general_preconfigure_fact_selinux_mode: "{{ (ansible_selinux.status == 'disabled') | ternary (ansible_selinux.status, ansible_selinux.mode) }}"
__sap_general_preconfigure_fact_selinux_mode: "{{ (ansible_selinux.status == 'disabled') | ternary(ansible_selinux.status, ansible_selinux.mode) }}"

- name: SELinux - Display the current SELinux mode or status
ansible.builtin.debug:
Expand All @@ -36,7 +36,7 @@
__sap_general_preconfigure_register_selinux_config_type_changed.changed or
__sap_general_preconfigure_fact_selinux_mode != sap_general_preconfigure_selinux_state

- name: Call Reboot handler if necessary
- name: SELinux - Call Reboot handler if necessary
ansible.builtin.command: /bin/true
notify: __sap_general_preconfigure_reboot_handler
when: __sap_general_preconfigure_fact_selinux_mode != sap_general_preconfigure_selinux_state
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

- name: SAP HANA Pre Install - Configure SELinux file contexts
- name: SELinux - Configure SELinux file contexts
ansible.builtin.include_role:
name: '{{ sap_hana_preconfigure_system_roles_collection }}.selinux'
vars:
Expand Down

0 comments on commit 79de6a7

Please sign in to comment.