From: Thanh Ha Date: Mon, 30 Jul 2018 17:12:07 +0000 (-0400) Subject: Fix windows-builder to support local scripts X-Git-Tag: v0.1.0~14 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=1fe9d22883fe87c9af2ed0854fdf09cd79f6262c;p=releng%2Fcommon-packer.git Fix windows-builder to support local scripts Original patch for this missed the setup to allow local usage of the windows-builder provisioner. Change-Id: I6d8b2b97d7efd844feaf8984154060f1e10b090e Signed-off-by: Thanh Ha --- diff --git a/provision/local-windows-builder.yaml b/provision/local-windows-builder.yaml new file mode 100644 index 0000000..66bef3f --- /dev/null +++ b/provision/local-windows-builder.yaml @@ -0,0 +1,2 @@ +--- +- import_playbook: ../common-packer/provision/windows-builder.yaml diff --git a/templates/windows-builder.json b/templates/windows-builder.json index 8b21fd6..ebee254 100644 --- a/templates/windows-builder.json +++ b/templates/windows-builder.json @@ -41,7 +41,7 @@ "provisioners": [ { "type": "ansible", - "playbook_file": "provision/windows-builder.yaml", + "playbook_file": "provision/local-windows-builder.yaml", "extra_arguments": [ "--connection", "packer", "--extra-vars", "ansible_shell_type=powershell ansible_shell_executable=None"