ansible/roles/network/defaults/main.yml

26 lines
797 B
YAML
Raw Normal View History

2019-03-27 07:05:37 +00:00
---
2019-03-31 13:22:09 +00:00
network_interfaces:
2019-08-25 02:07:11 +00:00
- name: "{{ ansible_default_ipv4.interface }}"
2019-03-31 13:22:09 +00:00
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 }}"
2019-03-27 07:05:37 +00:00
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: