From ff5a751fd374c3f85f81060e33333b9f1fc37fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Thu, 20 Oct 2022 15:49:21 +0200 Subject: [PATCH] [notifs-frontend] Fix SELinux error preventing to login MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The httpd wasn't able to open a new socket for connecting to identity server, this fix will allow that. Signed-off-by: Michal Konečný --- roles/notifs/frontend/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/notifs/frontend/tasks/main.yml b/roles/notifs/frontend/tasks/main.yml index 3ec080137d..a50b2d4c07 100644 --- a/roles/notifs/frontend/tasks/main.yml +++ b/roles/notifs/frontend/tasks/main.yml @@ -138,6 +138,15 @@ - notifs/frontend - selinux +- name: ensure selinux let's httpd talk to ipsilon + seboolean: name={{item}} state=yes persistent=yes + with_items: + - httpd_can_network_connect + tags: + - notifs + - notifs/frontend + - selinux + - name: Install SAR script copy: src: fmn-sar.py