summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-07-08 03:27:21 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-11 02:29:02 +0200
commite12f1667ed37c60290b21df355e2960fcad3ecc7 (patch)
tree500b566c658b5100e33c7e6e37494a0d263c368a /inventory
parentvm/host/network: config initial setup works now (diff)
test new vm/host/network on other machines...
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-gnocchi.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-gnocchi.yml b/inventory/host_vars/ch-gnocchi.yml
index c52a1cf4..ff27a081 100644
--- a/inventory/host_vars/ch-gnocchi.yml
+++ b/inventory/host_vars/ch-gnocchi.yml
@@ -13,6 +13,10 @@ network:
interfaces:
- name: br-mgmt
address: "{{ network_zones.mgmt.prefix | ipaddr(network_zones.mgmt.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ vlans:
+ enp1s0: "{{ __vmhost_bridge_interface_zones__['enp1s0'] | map('extract', network_zones) | map(attribute='vlan') | list }}"
+ enp2s0: "{{ __vmhost_bridge_interface_zones__['enp2s0'] | map('extract', network_zones) | map(attribute='vlan') | list }}"
+ enp3s0: "{{ __vmhost_bridge_interface_zones__['enp3s0'] | map('extract', network_zones) | map(attribute='vlan') | list }}"
apt_repo_components: