codeaffen.phpipam.subnet – lookup for subnet information

Note

This plugin is part of the codeaffen.phpipam collection (version 1.5.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install codeaffen.phpipam.

To use it in a playbook, specify: codeaffen.phpipam.subnet.

New in version 1.5.0: of codeaffen.phpipam

Synopsis

  • This lookup returns information about a subnet.

Parameters

Parameter Choices/Defaults Configuration Comments
_terms
string / required
Subnet in CIDR notation
app_id
string
ini entries:

[phpipam]
app_id = None

env:PHPIPAM_APPID
Application ID
password
string
ini entries:

[phpipam]
password = None

env:PHPIPAM_PASSWORD
Password to authenticate with the server
url
string
ini entries:

[phpipam]
url = None

env:PHPIPAM_URL
URL of the server to query
username
string
ini entries:

[phpipam]
username = None

env:PHPIPAM_USERNAME
Username to authenticate with the server
verify_ssl
boolean
    Choices:
  • no
  • yes ←
ini entries:

[phpipam]
verify_ssl = yes

env:PHPIPAM_VERIFY_SSL
Whether to verify SSL certificates

Notes

Note

  • This lookup requires the ipaddress module.

  • This lookup returns a list of ip addresses.

Authors

  • Christian Meißner (@cmeissner)