Add default network configuration

This commit is contained in:
Ryan Cavicchioni 2019-03-31 13:22:09 +00:00
parent 87697ec353
commit 787bb61add
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -1,5 +1,13 @@
--- ---
network_interfaces: [] 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_nameservers: []
network_resolv_conf_options: network_resolv_conf_options: