codeaffen.phpipam.address – Manage addresses¶
Note
This plugin is part of the codeaffen.phpipam collection.
To install it use: ansible-galaxy collection install codeaffen.phpipam
.
To use it in a playbook, specify: codeaffen.phpipam.address
.
New in version 0.2.0: of codeaffen.phpipam
Requirements¶
The below requirements are needed on the host that executes this module.
- inflection
- ipaddress
- phpypam
Parameters¶
Examples¶
- name: "Reserve a IP address"
codeaffen.phpipam.section:
username: "admin"
password: "s3cr3t"
server_url: "https://ipam.example.com"
address: "192.0.2.1"
description: "Default router of sunet"
subnet: "192.0.2.0/24"
is_gateway: yes
state: present
- name: "Remove address reservation"
codeaffen.phpipam.section:
username: "admin"
password: "s3cr3t"
server_url: "https://ipam.example.com"
address: "192.0.2.1"
subnet: "192.0.2.0/24"
state: absent
Authors¶
- Christian Meißner (@cmeissner)