terraform-k8s/1-terraform.yml

43 lines
1.1 KiB
YAML

---
- hosts: terraform-master.e2m
remote_user: hybris
roles:
# - dns
# - proxy
- terraform
vars:
# TODO: import hosts from a specific host group of the inventory instead of listing them here again
kubernetes:
- hostname: k8s-master
hostname_full: k8s-master.e2m
ipv6: 2001:470:6d:22c:42::1
mac_address: 52:54:00:b2:52:86
memory: 5072
vcpu: 2
- hostname: k8s-node-1
hostname_full: k8s-node-1.e2m
ipv6: 2001:470:6d:22c:42::10
mac_address: 52:54:00:52:b2:b2
memory: 5072
vcpu: 2
- hostname: k8s-node-2
hostname_full: k8s-node-2.e2m
ipv6: 2001:470:6d:22c:42::20
mac_address: 52:54:00:52:2f:86
memory: 5072
vcpu: 2
- hostname: k8s-node-3
hostname_full: k8s-node-3.e2m
ipv6: 2001:470:6d:22c:42::30
mac_address: 52:54:00:52:2f:b2
memory: 5072
vcpu: 2
- hostname: k8s-node-4
hostname_full: k8s-node-4.e2m
ipv6: 2001:470:6d:22c:42::40
mac_address: 52:54:00:b2:2f:86
memory: 5072
vcpu: 2