summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-02-22 01:08:51 +0100
committerChristian Pointner <equinox@spreadspace.org>2023-02-22 01:08:51 +0100
commit10798b5b7a76c7a4f6b3e85af5318a8d210669de (patch)
tree9cfaabedadf16ca43c465add9f409027e9d1b8a6 /inventory
parentmove ele-dione and ele-telesto to emc vlan (diff)
make sure ele-calypso uses emc vlan for streamfeed from ele-thetys
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ele-calypso.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/inventory/host_vars/ele-calypso.yml b/inventory/host_vars/ele-calypso.yml
index 7047cd2a..8de1ebde 100644
--- a/inventory/host_vars/ele-calypso.yml
+++ b/inventory/host_vars/ele-calypso.yml
@@ -18,6 +18,9 @@ network:
address: "{{ network_zones.mgmt.prefix | ansible.utils.ipaddr(network_zones.mgmt.offsets[inventory_hostname]) }}"
- name: "enp3s0.{{ network_zones.emc.vlan }}"
address: "{{ network_zones.emc.prefix | ansible.utils.ipaddr(network_zones.emc.offsets[inventory_hostname]) }}"
+ static_routes:
+ - destination: "{{ network_zones.cc_orpheum.prefix | ansible.utils.ipaddr(network_zones.cc_orpheum.offsets['ele-thetys']) | ansible.utils.ipaddr('address') }}"
+ gateway: "{{ network_zones.emc.gateway }}"
vlans:
enp3s0:
- "{{ network_zones.mgmt.vlan }}"