michaelrigart / ansible-role-interfaces

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

Fix use of host routes #26

Closed markgoddard closed 6 years ago

markgoddard commented 6 years ago

The ipaddr('net') filter does not work for host routes (/32) due to Ansible bug

  1. This change uses the ipaddr('prefix') filter instead to calculate the subnet prefix.