From dbd7b981dbcab3607e9614fbc3a9d5a0d30af7d6 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 23 Mar 2023 13:19:19 -0700 Subject: [PATCH] Move pull-from-intermediate-registry to localhost This should run on the executor, not the nodes. Change-Id: I61fd52982c81d6dfe309b641cdb28278b4b438f2 --- playbooks/container-image/pre.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/playbooks/container-image/pre.yaml b/playbooks/container-image/pre.yaml index 67d96b3..8816cc8 100644 --- a/playbooks/container-image/pre.yaml +++ b/playbooks/container-image/pre.yaml @@ -8,6 +8,7 @@ when: "container_command | default('podman') != 'docker'" include_role: name: ensure-podman - - name: Pull from intermediate registry - include_role: - name: pull-from-intermediate-registry + +- hosts: localhost + roles: + - pull-from-intermediate-registry