From 38a373fe0d1c893577eadada4e0277e465d21d92 Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Wed, 21 Aug 2024 08:23:17 -0400 Subject: [PATCH] Add selinux_permissive task for container_t --- tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 3ec38a7..c18bdb8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -20,6 +20,11 @@ command: cmd: loginctl enable-linger "{{ item }}" loop: + +- name: Enable permissive_containers SELinux Context + selinux_permissive: + name: container_t + permissive: true "{{ service_users }}" # - name: Copy cni networking driver config into place # blockinfile: