summaryrefslogtreecommitdiff
path: root/inventory/host_vars/sk-tomnext.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-06-22 01:12:15 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-06-22 01:12:15 +0200
commitb13af9ddfd01117b350243dd1cc483a35a420611 (patch)
tree6d6faee4278235ee79fb3ee0c2a18729e5715b19 /inventory/host_vars/sk-tomnext.yml
parentmove r3-cccamp19 stuff to _graveyard_, introduce new kvm groups (diff)
all vm hosts/guests use the new network config schema
Diffstat (limited to 'inventory/host_vars/sk-tomnext.yml')
-rw-r--r--inventory/host_vars/sk-tomnext.yml33
1 files changed, 6 insertions, 27 deletions
diff --git a/inventory/host_vars/sk-tomnext.yml b/inventory/host_vars/sk-tomnext.yml
index 555d2f0a..eca2de34 100644
--- a/inventory/host_vars/sk-tomnext.yml
+++ b/inventory/host_vars/sk-tomnext.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,29 +51,3 @@ zfs_sanoid_modules:
storage/vm/sk-tomnext-nc:
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-tomnext-nc: 103
- sk-tomnext-hp: 104
- nat: yes
- overlay:
- prefix: 94.130.206.64/26
- offsets:
- sk-tomnext-nc: 39
- sk-tomnext-hp: 40
- zfs:
- default:
- pool: storage
- name: vm
- properties:
- compression: lz4