From f399928637cc2f12bf7cb06a4ea107bc0a88e5db Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 19 Aug 2020 01:29:36 +0200 Subject: add host ch-prometheus --- inventory/host_vars/ch-sw1.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'inventory/host_vars/ch-sw1.yml') diff --git a/inventory/host_vars/ch-sw1.yml b/inventory/host_vars/ch-sw1.yml index 1df69954..bd6fe7f1 100644 --- a/inventory/host_vars/ch-sw1.yml +++ b/inventory/host_vars/ch-sw1.yml @@ -5,12 +5,26 @@ switch_interfaces_yaml: | switchport_mode: trunk - spec: Te1/0/2 - description: "prometheus" + description: "prom (oldnew)" switchport_mode: trunk - - spec: range Te1/0/3-4 + - spec: Te1/0/3 + description: "RFU" + vlan: {{ network_zones.lan.vlan }} + + - spec: Te1/0/4 + description: "prometheus" vlan: {{ network_zones.lan.vlan }} - - spec: range Gi1/0/5-16 + + - spec: range Gi1/0/5-6 + channel_group: 1 + - spec: port-channel 1 + description: "prometheus" + switchport_mode: general + tagged_only: yes + allowed_vlans_tagged: {{ network_zones | list | difference(['lan']) | map('extract', network_zones) | map(attribute='vlan') | list }} + + - spec: range Gi1/0/7-16 vlan: {{ network_zones.lan.vlan }} - spec: range Gi1/0/17-22 -- cgit v1.2.3