Add default network configuration
This commit is contained in:
parent
87697ec353
commit
787bb61add
@ -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_resolv_conf_options:
|
||||
|
Loading…
Reference in New Issue
Block a user