Convert inventory to YAML

This commit is contained in:
hybris 2019-01-25 18:44:41 +01:00
parent 0482b34923
commit 1105d8717e
1 changed files with 27 additions and 0 deletions

27
hosts.yml Normal file
View File

@ -0,0 +1,27 @@
all:
children:
k8s:
children:
k8s-masters:
hosts:
k8s-master.e2m:
host_ipv6: 2001:470:6d:22c:42::1
hostname: k8s-master.e2m
k8s-nodes:
hosts:
k8s-node-1.e2m:
host_hostname: k8s-node-1.e2m
host_ipv6: 2001:470:6d:22c:42::10
k8s-node-2.e2m:
host_hostname: k8s-node-2.e2m
host_ipv6: 2001:470:6d:22c:42::20
k8s-node-3.e2m:
host_hostname: k8s-node-3.e2m
host_ipv6: 2001:470:6d:22c:42::30
k8s-node-4.e2m:
host_hostname: k8s-node-4.e2m
host_ipv6: 2001:470:6d:22c:42::40
terraform:
hosts:
terraform-master.e2m:
host_ipv6: 2001:470:6d:22c:43::1