From e1d46749f0f21a34e5643d42d6389c0fc3df5733 Mon Sep 17 00:00:00 2001 From: khaledk2 Date: Tue, 5 Mar 2024 13:51:26 +0000 Subject: [PATCH] check selinux status --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 058bf22..f0bdc6f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -86,6 +86,7 @@ state: present notify: - restart omero-ms-image-region service + when: ansible_facts.selinux.status == 'enabled' - import_tasks: update_nginx_config.yml when: update_nginx