-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardware.json.j2
executable file
·32 lines (31 loc) · 1.19 KB
/
hardware.json.j2
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
{ "id":"{{ worker_host['uuid'] }}",
"metadata":{
"facility":{
"facility_code":"ewr1",
"plan_slug":"c2.medium.x86",
"plan_version_slug":""
},
"instance":{},
"state":"provisioning"
},
"network":{
"interfaces":[
{
"dhcp":{
"arch":"x86_64",
"ip":{
"address":"{{ worker_host['ansible_host'] }}",
"gateway":"{{ worker_host['gateway'] }}",
"netmask":"{{ worker_host['netmask'] }}"
},
"mac":"{{ worker_host['mac_address'] }}",
"uefi":false
},
"netboot":{
"allow_pxe":true,
"allow_workflow":true
}
}
]
}
}