codeaffen.phpipam.vlan – Manage vlans¶
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.vlan
.
New in version 0.3.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 vlan"
codeaffen.phpipam.vlan:
username: "admin"
password: "s3cr3t"
server_url: "https://ipam.example.com"
name: "my vlan"
vlan_id: 1337
state: present
- name: "Remove vlan"
codeaffen.phpipam.vlan:
username: "admin"
password: "s3cr3t"
server_url: "https://ipam.example.com"
name: "my vlan"
state: absent
Authors¶
- Christian Meißner (@cmeissner)