terraform-k8s/1-terraform.yml

42 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: podman-1
# ipv6: 2001:470:6d:22c:23::42
# mac_address: 52:54:00:b2:52:86
# memory: 8192
- hostname: k8s-master
ipv6: 2001:470:6d:22c:42::1
mac_address: 52:54:00:b2:52:86
memory: 5072
vcpu: 2
- hostname: k8s-node-1
ipv6: 2001:470:6d:22c:42::10
mac_address: 52:54:00:52:b2:b2
memory: 5072
vcpu: 2
- hostname: k8s-node-2
ipv6: 2001:470:6d:22c:42::20
mac_address: 52:54:00:52:2f:86
memory: 5072
vcpu: 2
- hostname: k8s-node-3
ipv6: 2001:470:6d:22c:42::30
mac_address: 52:54:00:52:2f:b2
memory: 5072
vcpu: 2
- hostname: k8s-node-4
ipv6: 2001:470:6d:22c:42::40
mac_address: 52:54:00:b2:2f:86
memory: 5072
vcpu: 2