-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path00-test.py
39 lines (38 loc) · 1.17 KB
/
00-test.py
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
38
39
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
print json.dumps({
"_meta": {
"hostvars": {
"test0.na.example.net": {
"region": "NA",
"data_center": "FDC",
"environment": "LAB",
"baseline": "2019q3",
"owning_group": "TESTGROUP1"
},
"test1.apac.example.net": {
"region": "ASPAC",
"data_center": "LAB",
"environment": "LAB",
"baseline": "2019q4",
"owning_group": "TESTGROUP2"
},
"test2.latam.example.net": {
"region": "LATAM",
"data_center": "LAB",
"environment": "LAB",
"owning_group": "TESTGROUP3"
},
"test3.aus.example.net": {
"region": "AUS",
"data_center": "LAB",
"environment": "LAB",
"owning_group": "TESTGROUP3"
}
}
},
"all": {
"hosts": ["test0.na.example.net","test1.apac.example.net","test2.latam.example.net","test3.aus.example.net"]
}
}, indent=4)