Move config variables to inventory
This commit is contained in:
parent
18f5d78a93
commit
d27d00503c
@ -6,23 +6,6 @@
|
||||
- terraform
|
||||
|
||||
vars:
|
||||
# libvirt host 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 }}"
|
||||
|
||||
# TODO: import hosts from a specific host group of the inventory instead of listing them here again
|
||||
kubernetes:
|
||||
- hostname: k8s-master
|
||||
|
17
hosts.yml
17
hosts.yml
@ -1,4 +1,21 @@
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user