github.com/StackPointCloud/packer@v0.10.2-0.20180716202532-b28098e0f79b/test/fixtures/provisioner-ansible/winrm.json (about)

     1  {
     2      "variables": {},
     3      "provisioners": [
     4        {
     5          "type":  "ansible",
     6          "playbook_file": "./win-playbook.yml",
     7          "extra_arguments": [
     8            "--connection", "packer",
     9            "--extra-vars", "ansible_shell_type=powershell ansible_shell_executable=None"
    10          ]
    11        }
    12      ],
    13      "builders": [
    14        {
    15          "type": "googlecompute",
    16          "account_file": "{{user `account_file`}}",
    17          "project_id": "{{user `project_id`}}",
    18          "image_name": "packerbats-winrm-{{timestamp}}",
    19          "source_image": "windows-server-2012-r2-dc-v20160916",
    20          "communicator": "winrm",
    21          "zone": "us-central1-a",
    22          "disk_size": 50,
    23          "winrm_username": "packer",
    24          "winrm_use_ssl": true,
    25          "winrm_insecure": true,
    26          "metadata": {
    27                    "sysprep-specialize-script-cmd": "winrm set winrm/config/service/auth @{Basic=\"true\"}"
    28          }
    29        }
    30      ]
    31  }