terraform-k8s/1-terraform.yml

53 lines
2.1 KiB
YAML
Raw Normal View History

2019-01-22 12:10:16 +00:00
---
- hosts: terraform-master.e2m
remote_user: hybris
2019-01-25 18:04:04 +00:00
roles:
- terraform
2019-01-22 12:10:16 +00:00
vars:
2019-01-22 14:28:46 +00:00
# libvirt host vars
2019-01-25 18:04:04 +00:00
libvirt_host: 2001:470:6d:22c:1::1
2019-01-22 14:28:46 +00:00
libvirt_storage_pool: kubernetes
libvirt_network_bridge: home-lan
2019-01-25 18:04:04 +00:00
# network vars
network_domain: e2m
network_default_gw: 2001:470:6d:22c::1
network_dns: 2001:470:6d:22c::1
2019-01-22 14:28:46 +00:00
# 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
2019-01-25 18:04:04 +00:00
source_cloud_image_url: "https://cloud.centos.org/centos/7/images/{{ source_cloud_image_name }}"
2019-01-22 14:28:46 +00:00
2019-01-25 18:04:04 +00:00
# TODO: import hosts from a specific host group of the inventory instead of listing them here again
2019-01-22 12:10:16 +00:00
kubernetes:
- hostname: k8s-master
ipv6: 2001:470:6d:22c:42::1
mac_address: 52:54:00:b2:52:86
2019-01-22 14:28:46 +00:00
memory: 5072
vcpu: 2
2019-01-22 12:10:16 +00:00
- hostname: k8s-node-1
ipv6: 2001:470:6d:22c:42::10
mac_address: 52:54:00:52:b2:b2
2019-01-22 14:28:46 +00:00
memory: 5072
vcpu: 2
2019-01-22 12:10:16 +00:00
- hostname: k8s-node-2
ipv6: 2001:470:6d:22c:42::20
mac_address: 52:54:00:52:2f:86
2019-01-22 14:28:46 +00:00
memory: 5072
vcpu: 2
2019-01-22 12:10:16 +00:00
- hostname: k8s-node-3
ipv6: 2001:470:6d:22c:42::30
mac_address: 52:54:00:52:2f:b2
2019-01-22 14:28:46 +00:00
memory: 5072
vcpu: 2
2019-01-22 12:10:16 +00:00
- hostname: k8s-node-4
ipv6: 2001:470:6d:22c:42::40
mac_address: 52:54:00:b2:2f:86
2019-01-22 14:28:46 +00:00
memory: 5072
vcpu: 2