From ded9be74e7ea65be68815dcf62d8256ccab6ec97 Mon Sep 17 00:00:00 2001 From: khaledk2 Date: Sun, 1 Dec 2024 15:28:26 +0000 Subject: [PATCH] debug 7.1 --- ansible/idr-omero-readonly.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ansible/idr-omero-readonly.yml b/ansible/idr-omero-readonly.yml index e55321d5..d31d33b2 100644 --- a/ansible/idr-omero-readonly.yml +++ b/ansible/idr-omero-readonly.yml @@ -44,11 +44,6 @@ debug: msg: "{{command_output.stdout}}" - - name: Enable SELinux - ansible.posix.selinux: - policy: targeted - state: enforcing - - name: install checkpolicy become: true ansible.builtin.dnf: @@ -57,6 +52,14 @@ - checkpolicy - policycoreutils - ipa-selinux + - python3-policycoreutils + - python3-libselinux + + - name: Enable SELinux + ansible.posix.selinux: + policy: targeted + state: enforcing + - name: Set selinux vars for nfs ansible.posix.seboolean: name: