terraform-k8s/1-terraform.yml

42 lines
1.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:
2019-07-25 08:24:35 +00:00
# - dns
# - proxy
- terraform
2019-01-25 18:04:04 +00:00
2019-01-22 12:10:16 +00:00
vars:
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:
2019-07-25 08:24:35 +00:00
# - hostname: podman-1
# ipv6: 2001:470:6d:22c:23::42
# mac_address: 52:54:00:b2:52:86
# memory: 8192
2019-01-22 12:10:16 +00:00
- 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