From 20160289e9b5e7e946bff65733fc8bdb0e0c1b1b Mon Sep 17 00:00:00 2001 From: Julian Foad Date: Mon, 1 Jan 2024 20:06:27 +0000 Subject: [PATCH] don't build unless 'pull' --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 0ff1763..0592086 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,7 +18,7 @@ when: "item.when | bool" - delegate_to: "{{ hedy_builder_host }}" - when: "hedy_container_image_self_build | bool" + when: "hedy_pull and hedy_container_image_self_build | bool" become: true become_user: "{{ hedy_builder_username }}" block: