Commit 309cd318 authored by Benjamin Graillot's avatar Benjamin Graillot

[interfaces] Deploy interfaces on unifi

parent 5cce4865
Pipeline #3999 passed with stage
in 3 minutes and 11 seconds
......@@ -85,6 +85,7 @@ hodaur.adm.crans.org
monitoring.adm.crans.org
boeing.adm.crans.org
fluxx.adm.crans.org
unifi.adm.crans.org
[ovh_physical]
sputnik.adm.crans.org
......
#!/usr/bin/env ansible-playbook
---
- hosts: voyager.adm.crans.org,boeing.adm.crans.org,fluxx.adm.crans.org,hodaur.adm.crans.org
- hosts: voyager.adm.crans.org,boeing.adm.crans.org,fluxx.adm.crans.org,hodaur.adm.crans.org,unifi.adm.crans.org
vars:
vlan:
- name: srv
......
......@@ -44,6 +44,7 @@ iface {{ interfaces[item.name] }} inet6 static
{% if item.gateway_v6 is defined %}
gateway {{ item.gateway_v6 }}
{% endif %}
accept_ra 0
{% if ansible_local.interfaces.sup_if_6 is defined %}
{% if interfaces[item.name] in ansible_local.interfaces.sup_if_6 %}
{% for line in ansible_local.interfaces.sup_if_6[interfaces[item.name]] %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment