3 "ansible_command": "ansible-playbook",
4 "ansible_vars_file": "",
7 "build_environment": "azure-arm",
8 "client_id": "{{env `ARM_CLIENT_ID`}}",
9 "client_secret": "{{env `ARM_CLIENT_SECRET`}}",
10 "cloud_environment_name": "Public",
12 "location": "centralus",
14 "resource_group": null,
15 "ssh_private_key_file": "{{env `PACKERPRIVKEY`}}",
17 "subscription_id": "{{env `ARM_SUBSCRIPTION_ID`}}",
18 "tenant_id": "{{env `ARM_TENANT_ID`}}"
23 "cloud_environment_name": "{{user `cloud_environment_name`}}",
25 "client_id": "{{user `client_id`}}",
26 "client_secret": "{{user `client_secret`}}",
27 "subscription_id": "{{user `subscription_id`}}",
28 "tenant_id": "{{user `tenant_id`}}",
30 "managed_image_resource_group_name": "{{user `resource_group`}}",
31 "managed_image_name": "{{user `arvados_cluster`}}-compute-v{{ timestamp }}",
33 "ssh_username": "{{user `ssh_user`}}",
34 "ssh_private_key_file": "{{user `ssh_private_key_file`}}",
36 "image_publisher": "Canonical",
37 "image_offer": "UbuntuServer",
38 "image_sku": "{{user `image_sku`}}",
42 "location": "{{user `location`}}",
43 "vm_size": "Standard_D1_v2"
48 "command": "{{user `ansible_command`}}",
49 "playbook_file": "ansible/build-compute-image.yml",
50 "user": "{{user `ssh_user`}}",
52 "--extra-vars", "arvados_cluster_id={{ user `arvados_cluster` }}",
53 "--extra-vars", "@{{ user `ansible_vars_file` }}"