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.

Options

start

Start IP

end

End IP

min_size

Minum size of the range

Authors

Tomas Sedovic

Example Tasks

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