terraform-k8s/1-terraform.yml

36 lines
920 B
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-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