Created
March 17, 2016 08:56
-
-
Save torumakabe/43aad57709ec4b5e9167 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "builders": [{ | |
| "type": "azure-arm", | |
| "client_id": "{{user `client_id`}}", | |
| "client_secret": "{{user `client_secret`}}", | |
| "resource_group_name": "{{user `resource_group`}}", | |
| "storage_account": "{{user `storage_account`}}", | |
| "subscription_id": "{{user `subscription_id`}}", | |
| "tenant_id": "{{user `tenant_id`}}", | |
| "capture_container_name": "images", | |
| "capture_name_prefix": "packer", | |
| "image_publisher": "Canonical", | |
| "image_offer": "UbuntuServer", | |
| "image_sku": "14.04.3-LTS", | |
| "location": "Japan West", | |
| "vm_size": "Standard_D1" | |
| }], | |
| "provisioners": [{ | |
| "type": "shell", | |
| "scripts": [ | |
| "../script/provision.sh" | |
| ] | |
| }, | |
| { | |
| "type": "file", | |
| "source": "../files/hosts", | |
| "destination": "/tmp/files/hosts" | |
| }, | |
| { | |
| "type": "ansible-local", | |
| "playbook_file": "../ansible/baseimage.yml", | |
| "inventory_file": "../ansible/hosts", | |
| "role_paths": [ | |
| "../ansible/roles/baseimage" | |
| ] | |
| }] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment