26 lines
792 B
YAML
26 lines
792 B
YAML
---
|
|
network_interfaces:
|
|
- name: "{{ facter_networking.primary }}"
|
|
address:
|
|
- "{{ ansible_default_ipv4.address }}/{{ (ansible_default_ipv4.address + '/' + ansible_default_ipv4.netmask) | ipaddr('prefix') }}"
|
|
- "{{ ansible_default_ipv6.address + '/' + ansible_default_ipv6.prefix }}"
|
|
gateway:
|
|
- "{{ ansible_default_ipv4.gateway }}"
|
|
- "{{ ansible_default_ipv6.gateway }}"
|
|
|
|
|
|
network_nameservers: []
|
|
network_resolv_conf_options:
|
|
- edns0
|
|
|
|
_network_resolv_conf_enabled: yes
|
|
|
|
_network_systemd_networkd_service_name: systemd-networkd.service
|
|
_network_ifupdown_service_name: networking.service
|
|
_network_systemd_resolved_service_name: systemd-resolved.service
|
|
|
|
_network_ifupdown_package_name: ifupdown
|
|
_network_netplan_package_name: netplan.io
|
|
|
|
# vim:ft=yaml.ansible:
|