diff --git a/roles/container-engine/cri-o/templates/crio.conf.j2 b/roles/container-engine/cri-o/templates/crio.conf.j2 index 33abfe828569633ea1f7307e8c8d0361f4b631ae..45d02696e9542233ced395f552259e7efd2c4be8 100644 --- a/roles/container-engine/cri-o/templates/crio.conf.j2 +++ b/roles/container-engine/cri-o/templates/crio.conf.j2 @@ -64,7 +64,7 @@ file_locking = true # This is a mandatory setting as this runtime will be the default one # and will also be used for untrusted container workloads if # runtime_untrusted_workload is not set. -{% if ansible_os_family == "ClearLinux" %} +{% if ansible_os_family == "ClearLinux" or ansible_os_family == "RedHat" %} runtime = "/usr/bin/runc" {% else %} runtime = "/usr/sbin/runc"