Skip to content
Snippets Groups Projects
Commit 0a78e01b authored by Benjamin Graillot's avatar Benjamin Graillot
Browse files

Merge branch 'unifi' into 'newinfra'

[interfaces] Deploy interfaces on unifi

See merge request !86
parents 5cce4865 309cd318
No related branches found
No related tags found
1 merge request!86[interfaces] Deploy interfaces on unifi
......@@ -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]] %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment