michaelrigart / ansible-role-interfaces

An ansible role for configuring different network interfaces
GNU General Public License v3.0
83 stars 61 forks source link

Allow unmanaged addresses on an interface #70

Closed markgoddard closed 4 years ago

markgoddard commented 4 years ago

Sometimes it may be useful to not assign an IP address to an interface, but to allow another process to assign one. An example use case is a virtual IP address dynamically added or by a process such as keepalived.

markgoddard commented 4 years ago

Currently this fails if an IP is assigned with an error like the following:

Interface eth0 has an IPv4 address but none was requested