summaryrefslogtreecommitdiff
path: root/inventory/host_vars/sk-2019vm.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-06-22 02:37:11 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-06-22 02:37:11 +0200
commit5a35c210ddb64998586b69b921e8d721395f09d5 (patch)
tree9a65e26f147c59ab379e1cd23a1baf60ac5d5264 /inventory/host_vars/sk-2019vm.yml
parentMerge branch 'topic/kubernetes-network-plugins' (diff)
parentconverted other physical machines to new network config (diff)
Merge branch 'topic/network-interfaces-variables-refactoring'
Diffstat (limited to 'inventory/host_vars/sk-2019vm.yml')
-rw-r--r--inventory/host_vars/sk-2019vm.yml45
1 files changed, 6 insertions, 39 deletions
diff --git a/inventory/host_vars/sk-2019vm.yml b/inventory/host_vars/sk-2019vm.yml
index de162712..0c990b74 100644
--- a/inventory/host_vars/sk-2019vm.yml
+++ b/inventory/host_vars/sk-2019vm.yml
@@ -7,7 +7,12 @@ install:
layout: nvme_raid
root_lvm_size: 10G
-network: {}
+network:
+ nameservers: "{{ vm_host.network.dns }}"
+ domain: "{{ host_domain }}"
+ interfaces:
+ - name: br-public
+ address: "{{ vm_host.network.bridges.public.prefix | ipaddr(vm_host.network.bridges.public.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
base_intel_nic_stability_fix: true
ssh_users_root:
@@ -46,41 +51,3 @@ zfs_sanoid_modules:
storage/vm/sk-testvm:
use_template: ignore
recursive: yes
-
-
-vm_host:
- network:
- dns:
- - 213.133.100.100
- - 213.133.98.98
- - 213.133.99.99
- bridges:
- public:
- prefix: 192.168.250.254/24
- offsets:
- sk-torrent: 136
-# emc-master: 137
- lw-master: 137
- ele-gwhetzner: 138
- ch-k8s-m0: 139
- ch-k8s-m1: 140
- ch-mimas: 142
- sk-testvm: 253
- nat: yes
- overlay:
- prefix: 178.63.180.136/29
- offsets:
- sk-torrent: 0
-# emc-master: 1
- lw-master: 1
- ele-gwhetzner: 2
- ch-k8s-m0: 3
- ch-k8s-m1: 4
- ch-mimas: 6
- sk-testvm: 7
- zfs:
- default:
- pool: storage
- name: vm
- properties:
- compression: lz4