forked from ISTI-ansible-roles/ansible-roles
Manage the main interface explicitly while dealing with the ipv6 settings.
This commit is contained in:
parent
751d24740c
commit
3d55f3d4ac
|
@ -9,6 +9,7 @@
|
|||
- net.ipv6.conf.all.disable_ipv6
|
||||
- net.ipv6.conf.default.disable_ipv6
|
||||
- net.ipv6.conf.lo.disable_ipv6
|
||||
- net.ipv6.conf.{{ ansible_default_ipv4.interface }}.disable_ipv6
|
||||
when: disable_ipv6
|
||||
|
||||
- name: enable the in kernel ipv6 support
|
||||
|
@ -17,6 +18,7 @@
|
|||
- net.ipv6.conf.all.disable_ipv6
|
||||
- net.ipv6.conf.default.disable_ipv6
|
||||
- net.ipv6.conf.lo.disable_ipv6
|
||||
- net.ipv6.conf.{{ ansible_default_ipv4.interface }}.disable_ipv6
|
||||
when: not disable_ipv6
|
||||
|
||||
- name: Set the custom sysctl values
|
||||
|
|
Loading…
Reference in New Issue