Skip to content

Instantly share code, notes, and snippets.

@pollenjp
Created September 20, 2023 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pollenjp/82a445298a311d732b05ef563a309f55 to your computer and use it in GitHub Desktop.
Save pollenjp/82a445298a311d732b05ef563a309f55 to your computer and use it in GitHub Desktop.
{
"dns_server": {
"hosts": [
"vm-dns.vagrant.home"
],
"children": []
},
"k8s_cp_master": {
"hosts": [
"vm01.vagrant.home"
],
"children": []
},
"k8s_other_nodes": {
"hosts": [
"vm02.vagrant.home",
"vm03.vagrant.home",
"vm04.vagrant.home"
],
"children": []
},
"k8s_all": {
"vars": {
"k8s_cp_endpoint": "k8s-cp-endpoint.vagrant.home"
},
"hosts": [],
"children": [
"k8s_cp_master",
"k8s_other_nodes"
]
},
"all": {
"vars": {
"network_configs": {
"name_server": "192.168.121.214",
"dns": {
"acl": {
"internal_network": [
"localhost",
"192.168.121.0/24"
]
},
"domains": {
"vagrant.home": {
"ipv4": [
{
"network_component": "192.168.121",
"addresses": {
"vm02": 124,
"vm03": 142,
"vm04": 132,
"vm01": 29,
"vm-dns": 214,
"ns1": 214
}
}
],
"ipv6": [],
"cnames": {
"k8s-cp-endpoint": "vm01"
}
}
}
}
}
},
"hosts": [],
"children": []
},
"vagrant_all": {
"hosts": [
"vm02.vagrant.home",
"vm03.vagrant.home",
"vm04.vagrant.home",
"vm01.vagrant.home",
"vm-dns.vagrant.home"
],
"children": []
},
"_meta": {
"hostvars": {
"vm-dns.vagrant.home": {},
"vm01.vagrant.home": {},
"vm02.vagrant.home": {
"k8s_is_control_plane": true
},
"vm03.vagrant.home": {
"k8s_is_control_plane": false
},
"vm04.vagrant.home": {
"k8s_is_control_plane": false
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment