terraform-k8s/1-terraform.yml

43 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:
- hostname: k8s-master
2019-08-08 19:20:54 +00:00
hostname_full: k8s-master.e2m
2019-01-22 12:10:16 +00:00
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
2019-08-08 19:20:54 +00:00
hostname_full: k8s-node-1.e2m
2019-01-22 12:10:16 +00:00
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
2019-08-08 19:20:54 +00:00
hostname_full: k8s-node-2.e2m
2019-01-22 12:10:16 +00:00
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
2019-08-08 19:20:54 +00:00
hostname_full: k8s-node-3.e2m
2019-01-22 12:10:16 +00:00
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
2019-08-08 19:20:54 +00:00
hostname_full: k8s-node-4.e2m
2019-01-22 12:10:16 +00:00
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