Module - ip_range

This module provides for the following ansible plugin:

  • ip_range

Module Documentation

Check if the size of an IP range against a minimum value.

Used by the ctlplane_ip_range role.

Owned by the DFG: DF

Options

start:

Start IP

end:

End IP

min_size:

Minum size of the range

Authors

:

Tomas Sedovic

Example Tasks

- hosts: webservers
  tasks:
  - name: Check the IP range
    ip_range:
      start: 192.0.2.5
      end: 192.0.2.24
      min_size: 15