From a9880f8c40f5674deaff13ce31d4556d4255fc95 Mon Sep 17 00:00:00 2001 From: pedro-peter <12556909+pedro-peter@users.noreply.github.com> Date: Wed, 20 Sep 2023 11:11:16 +0100 Subject: [PATCH] crio registry rewrite patch --- roles/container-engine/cri-o/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/container-engine/cri-o/tasks/main.yaml b/roles/container-engine/cri-o/tasks/main.yaml index 61105f401fc..2d73e74e232 100644 --- a/roles/container-engine/cri-o/tasks/main.yaml +++ b/roles/container-engine/cri-o/tasks/main.yaml @@ -169,7 +169,7 @@ - name: Cri-o | write registries configs template: src: registry.conf.j2 - dest: "/etc/containers/registries.conf.d/10-{{ item.prefix | default(item.location) | regex_replace(':', '_') }}.conf" + dest: "/etc/containers/registries.conf.d/10-{{ item.prefix | default(item.location) | regex_replace(':|/', '_') }}.conf" mode: 0644 loop: "{{ crio_registries }}" notify: Restart crio