kenmoini.phpipam.release_address (1.0.2) — module

Release an IP address in phpIPAM

| "added in version" 2.11 of kenmoini.phpipam"

Authors: Ken Moini (@kenmoini)

preview | supported by community

Install collection

Install with ansible-galaxy collection install kenmoini.phpipam:==1.0.2


Add to requirements.yml

  collections:
    - name: kenmoini.phpipam
      version: 1.0.2

Description

Release an IP address in phpIPAM

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Release an IP Address
- name: Release an IP Address
  kenmoini.phpipam.release_address:
    phpipam_url: https://phpipam.example.com
    phpipam_app_id: 1234567890
    phpipam_app_code: 1234567890
    subnet_id: 123
    ip_id: 567
  register: r_address

Inputs

    
ip_id:
    aliases:
    - address
    - ip_address
    description:
    - This is the ID of the IP Address you want to release
    required: true
    type: int

subnet_id:
    aliases:
    - subnet
    description:
    - This is the ID of the subnet you want to release the IP Address from
    required: true
    type: int

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

Outputs

ip_address:
  description: Details of the IP Address release request
  returned: always
  type: object