forked from AI-Collaboratory/IRP2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.json
33 lines (33 loc) · 830 Bytes
/
template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"builders": [
{
"type": "amazon-ebs",
"region": "us-east-1",
"availability_zone": "us-east-1c",
"source_ami": "ami-7b6cb610",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "L-HARP Demonstration {{isotime \"2006-01-02\"}}",
"tags": {
"OS_Version": "Ubuntu",
"Release": "Vivid 15.04"
}
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"sudo apt-get update",
"sudo apt-get -y upgrade",
"sudo apt-get install -y ansible"]
},
{
"type": "ansible-local",
"playbook_file": "playbook.yml",
"group_vars": "/home/jansen/Dropbox/UMD-DCIC/Amazon/group_vars",
"inventory_groups": "LHARP",
"inventory_file": "/home/jansen/Dropbox/UMD-DCIC/Amazon/hosts"
}
]
}