codeaffen.phpipam.device – Manage devices¶
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.device
.
New in version 0.5.0: of codeaffen.phpipam
Requirements¶
The below requirements are needed on the host that executes this module.
- inflection
- ipaddress
- phpypam>=1.0.0
Parameters¶
Examples¶
- name: "Create device"
codeaffen.phpipam.device:
username: "admin"
password: "s3cr3t"
server_url: "https://ipam.example.com"
hostname: "leaf-example-01"
ipaddress: "192.0.2.222"
sections:
- Example Inc.
- DEVOPS department
state: present
- name: "Remove device"
codeaffen.phpipam.device:
username: "admin"
password: "s3cr3t"
server_url: "https://ipam.example.com"
name: "leaf-example-001"
state: absent
Authors¶
- Christian Meißner (@cmeissner)