terraform-k8s/hosts.yml

44 lines
2.0 KiB
YAML

all:
vars:
libvirt_host: 2001:470:6d:22c:1::1
libvirt_storage_pool: kubernetes
libvirt_network_bridge: home-lan
# network vars
network_domain: e2m
network_default_gw: 2001:470:6d:22c::1
network_dns: 2001:470:6d:22c::1
# ansible user vars
remote_user_ssh_pubkey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDXh0iMMtbTEhRSgIbgCunAuE+Q1iKycRVRBYWDCQ45xE8nHsg7K98fdv6LqQwkTqlojEHKp2/TPawk8V6w3MTgOHXi/WO9FyvhMjUcfdxTvny1z3Pj1j0NglKjyQ3t30snwOBYJiC2qDDtvRYNJs+Re/aSdVbygOHMf0UqCyP8DL7Tcj5sNPgnleEC7jE+YNbyDJo2KtNFXy3+AMbwa742D5Ygi5FqaBO090gVQfb3hbnZLw9CNSK7vjo7k5hJo8d1kcPDth1Vo12IDejL8Al3ArfGSy5IqYXs8Stj4YVRW+78AOpQZiInCaFybqjsGG+5tezrXHrxhjJPHuSCuXk9vxkcUk7aC5eSDqoCP7RTB+iQCPJ1ZvkVbaebExZGgHpD9t2Xo2bd/3BRagIxPTzKo9q4+qCCClhWR4iUSOr/YKAZBFDdoVWg2IMqbUHzvHX7TE7I8hbAdg6CpgwBoJm8OWmfjkDU6aYnF8z9l36VV7xjvvuYbOrhpCJ9LGFSfmG3wswo8OH4XyRSHd3y7qrSYIGujtymrzozXo2MrMU3Rj2bW5MIEZSxleIVje4PHWOfZwwn3hwvqM/nyknzfNwPCidTsP3Q2FwfBtZYo1cIXH41bzjs4Bxb8+KJqwTcerzB1pT4qsoPnoYW0fnZE7NHVNhfNx53LdctclFerHTLMw== hybris@sparks
## does this make sense??
source_cloud_image_name: CentOS-7-x86_64-GenericCloud.qcow2
source_cloud_image_url: "https://cloud.centos.org/centos/7/images/{{ source_cloud_image_name }}"
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