-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.json
37 lines (37 loc) · 941 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
34
35
36
37
{
"builders": [
{
"type": "amazon-ebs",
"region": "us-east-1",
"availability_zone": "us-east-1c",
"source_ami": "ami-582d0f32",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "Ubuntu {{isotime \"2006-01-02\"}}",
"tags": {
"Name": "Ubuntu Email Curation",
"OS_Version": "Ubuntu",
"Release": "Vivid 15.04",
"VNC_Shared": "yes",
"RDP_Shared": "yes"
}
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"sudo apt-get update",
"sudo apt-get -y upgrade"]
},
{
"type": "ansible-local",
"playbook_file": "ansible/site.yml",
"playbook_dir": "ansible",
"group_vars": "/home/jansen/Dropbox/ansible/group_vars",
"inventory_groups": "vcl",
"extra_arguments": ["--limit localhost"],
"inventory_file": "/home/jansen/Dropbox/ansible/hosts"
}
]
}