summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-sw1.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-08-19 01:29:36 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-08-19 01:29:36 +0200
commitf399928637cc2f12bf7cb06a4ea107bc0a88e5db (patch)
tree320bef2c5f0a60caf1c3fd05bac9f06ce1c7708c /inventory/host_vars/ch-sw1.yml
parentadd hacky workaround for zfs-mount-generator bug (diff)
add host ch-prometheus
Diffstat (limited to 'inventory/host_vars/ch-sw1.yml')
-rw-r--r--inventory/host_vars/ch-sw1.yml20
1 files changed, 17 insertions, 3 deletions
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