diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-05-06 23:27:28 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-05-06 23:27:28 +0200 |
commit | 7db6e739f93b3953a825bc6c9fa9c905bcdaa927 (patch) | |
tree | 885a7e69271792de029166f79382771afa6358e2 /inventory/host_vars/ch-k8s-ctrl.yml | |
parent | kubernetes/kubeadm: add hatop shell alias (diff) |
move ch-k8s-test to LAN
Diffstat (limited to 'inventory/host_vars/ch-k8s-ctrl.yml')
-rw-r--r-- | inventory/host_vars/ch-k8s-ctrl.yml | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/inventory/host_vars/ch-k8s-ctrl.yml b/inventory/host_vars/ch-k8s-ctrl.yml index ece6cb73..232963b2 100644 --- a/inventory/host_vars/ch-k8s-ctrl.yml +++ b/inventory/host_vars/ch-k8s-ctrl.yml @@ -1,6 +1,4 @@ --- -install_jumphost: ch-jump - system_lvm_volume_size_root: 3G install: vm: @@ -17,21 +15,18 @@ install: properties: 'syncoid:sync': 'false' interfaces: - - bridge: br-svc - name: svc0 + - bridge: br-lan + name: lan0 network: - nameservers: "{{ network_zones.svc.dns }}" + nameservers: "{{ network_zones.lan.dns }}" domain: "{{ host_domain }}" systemd_link: interfaces: "{{ install.interfaces }}" primary: &_network_primary_ - name: svc0 - address: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) }}" - gateway: "{{ network_zones.svc.gateway }}" - static_routes: - - destination: "{{ network_zones.lan.prefix }}" - gateway: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets['ch-gw-lan']) | ansible.utils.ipaddr('address') }}" + name: lan0 + address: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) }}" + gateway: "{{ network_zones.lan.gateway }}" interfaces: - *_network_primary_ |