kenmoini / kenmoini.phpipam / 1.0.2 / module / subnet_info Get Subnet Info from phpIPAM | "added in version" 2.11 of kenmoini.phpipam" Authors: Ken Moini (@kenmoini) preview | supported by communitykenmoini.phpipam.subnet_info (1.0.2) — module
Install with ansible-galaxy collection install kenmoini.phpipam:==1.0.2
collections: - name: kenmoini.phpipam version: 1.0.2
Find information about a subnet in phpIPAM
# Get the information about a specific subnet - name: Retrieve information about a specific subnet kenmoini.phpipam.subnet_info: cidr: 192.168.42.0/23 phpipam_url: https://phpipam.example.com phpipam_app_id: 1234567890 phpipam_app_code: 1234567890 register: subnet_info
cidr: aliases: - subnet description: - This is the CIDR of the subnet you want to get information about required: true type: str phpipam_url: description: - This is the URL of your phpIPAM instance required: true type: str phpipam_app_id: description: - This is the app ID for your phpIPAM instance required: true type: str phpipam_app_code: description: - This is the app code for your phpIPAM instance required: true type: str phpipam_skip_tls_verify: aliases: - skip_tls_verify default: false description: - Whether or not to skip TLS verification required: false type: bool
subnet_info: description: The data returned about the subnet returned: always type: object