From 9d905e6b2baec92240cf160110b236b1a0c5633a Mon Sep 17 00:00:00 2001 From: Stig Telfer Date: Sun, 4 Oct 2020 21:53:11 +0100 Subject: [PATCH] Another case for skip_package_install Package installation is attempted at the top of the bifrost-create-dib-image role. The same predicate can be applied to prevent this if required. Change-Id: I43679f9baa37343ae5f50723928a6da65ce78420 --- playbooks/roles/bifrost-create-dib-image/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/roles/bifrost-create-dib-image/tasks/main.yml b/playbooks/roles/bifrost-create-dib-image/tasks/main.yml index 689e9812e..2db545ef4 100644 --- a/playbooks/roles/bifrost-create-dib-image/tasks/main.yml +++ b/playbooks/roles/bifrost-create-dib-image/tasks/main.yml @@ -17,6 +17,7 @@ package: name: "{{ dib_host_required_packages }}" state: present + when: not skip_package_install | bool # If attempting to utilize a base Ubuntu image, diskimage-builder # is the recommended, and default path. - name: "Test if image is present"