templier-ansible/group_vars/all/network_interfaces.yml
Yohann D'ANELLO f57b1f1b3e
network_interfaces is working for my router
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-06-04 17:14:30 +02:00

21 lines
684 B
YAML

glob_network_interfaces:
vlan:
- name: srv
id: 1
gateway: "185.230.76.62"
dns: "{{ query('ldap', 'ip', 'routeur-templier', 'srv') | ipv4 | first }}"
gateway_v6: "2a0c:700:3012::ff:fe02:112"
- name: adm
id: 42
dns: "{{ query('ldap', 'ip', 'routeur-templier', 'adm') | ipv4 | first }}"
- name: srv_nat
id: 43
gateway: "{{ query('ldap', 'ip', 'routeur-templier', 'srv-nat') | ipv4 | first }}"
dns: "{{ query('ldap', 'ip', 'routeur-templier', 'srv-nat') | ipv4 | first }}"
gateway_v6: "{{ query('ldap', 'ip', 'routeur-templier', 'srv-nat') | ipv6 | first }}"
# Deploy only adm by default
interfaces:
adm: eth0