Add selinux_permissive task for container_t

master
Mike Holloway 3 months ago
parent 38a373fe0d
commit d3321fe548
  1. 2
      tasks/main.yml

@ -20,12 +20,12 @@
command: command:
cmd: loginctl enable-linger "{{ item }}" cmd: loginctl enable-linger "{{ item }}"
loop: loop:
"{{ service_users }}"
- name: Enable permissive_containers SELinux Context - name: Enable permissive_containers SELinux Context
selinux_permissive: selinux_permissive:
name: container_t name: container_t
permissive: true permissive: true
"{{ service_users }}"
# - name: Copy cni networking driver config into place # - name: Copy cni networking driver config into place
# blockinfile: # blockinfile:
# name: "/etc/cni/net.d/podman.conflist" # name: "/etc/cni/net.d/podman.conflist"

Loading…
Cancel
Save