Ansible role to enable IPv6 on CentOS 7
The ansible-role-ipv6
role is only necessary if your host supports IPv6 but does not provide an image that supports it out of the box without custom configuration. To use this role you need to specify the ipv6 address and gateway as a host_vars
variable. DigitalOcean supports IPv6 out of the box, while OVH's Cloud and OpenStack require it to be enabled manually.
- Ansible 2.3+
- CentOS 7
- A statically assigned IPv6 prefix
- Fork this repository
- git submodule add roles/ansible-role-ipv6
Ansible Galaxy: HauptJ.ipv6
Name | Default | Description |
---|---|---|
ipv6_addr | 2607:5300:201:2100::5:1111/128 | IPv6 address w/ prefix length |
ipv6ipv6_gate | 2607:5300:201:2100:1 | IPv6 gateway |