From cc5f5c9c2e13647496d34f65558ca1e8cea9b4d7 Mon Sep 17 00:00:00 2001 From: Prajyot Parab Date: Mon, 25 Jan 2021 03:16:17 -0800 Subject: [PATCH] registry fix Signed-off-by: Prajyot Parab --- playbooks/roles/ocp-config/tasks/extract.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/playbooks/roles/ocp-config/tasks/extract.yaml b/playbooks/roles/ocp-config/tasks/extract.yaml index a72246ff..ddea7108 100644 --- a/playbooks/roles/ocp-config/tasks/extract.yaml +++ b/playbooks/roles/ocp-config/tasks/extract.yaml @@ -12,6 +12,18 @@ with_items: - directory +- name: local-registry service + block: + - name: Restart local-registry service + service: + name: local-registry + state: restarted + + - name: Wait for local-registry to restart + wait_for: + timeout: 15 + when: enable_local_registry + - name: Extract OCP4 tools from release image ( local-registry ) when: enable_local_registry shell: |