summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-hroottest.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-hroottest.yml')
-rw-r--r--inventory/host_vars/ch-hroottest.yml31
1 files changed, 6 insertions, 25 deletions
diff --git a/inventory/host_vars/ch-hroottest.yml b/inventory/host_vars/ch-hroottest.yml
index 555791ca..f07198b1 100644
--- a/inventory/host_vars/ch-hroottest.yml
+++ b/inventory/host_vars/ch-hroottest.yml
@@ -7,7 +7,12 @@ install:
layout: sata_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') }}"
apt_repo_components:
@@ -30,27 +35,3 @@ zfs_sanoid_modules:
use_template: production
recursive: yes
process_children_only: 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:
- ch-hroottest-vm1: 100
- ch-hroottest-obsd: 101
- ch-k8s-m2: 200
- ch-k8s-w0: 210
- ch-k8s-w1: 211
- nat: yes
- zfs:
- default:
- pool: storage
- name: vm
- properties:
- compression: lz4