Fix windows-builder to support local scripts 33/12033/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 30 Jul 2018 17:12:07 +0000 (13:12 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 30 Jul 2018 17:12:51 +0000 (13:12 -0400)
Original patch for this missed the setup to allow local usage
of the windows-builder provisioner.

Change-Id: I6d8b2b97d7efd844feaf8984154060f1e10b090e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
provision/local-windows-builder.yaml [new file with mode: 0644]
templates/windows-builder.json

diff --git a/provision/local-windows-builder.yaml b/provision/local-windows-builder.yaml
new file mode 100644 (file)
index 0000000..66bef3f
--- /dev/null
@@ -0,0 +1,2 @@
+---
+- import_playbook: ../common-packer/provision/windows-builder.yaml
index 8b21fd6..ebee254 100644 (file)
@@ -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"