codeaffen / codeaffen.phpipam / 1.7.0 / module / vlan Manage vlans | "added in version" 0.3.0 of codeaffen.phpipam" Authors: Christian Meißner (@cmeissner)codeaffen.phpipam.vlan (1.7.0) — module
Install with ansible-galaxy collection install codeaffen.phpipam:==1.7.0
collections: - name: codeaffen.phpipam version: 1.7.0
create, update and delete vlans
- 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
name: description: Name of the given vlan required: true type: str state: choices: - present - absent default: present description: State of the entity type: str app_id: default: ansible description: API app name required: false type: str vlan_id: description: - The VLAN-ID. Must be a number. - Due to implementation of api the value has to be I(string) here but is I(int) in phpIPAM required: true type: str password: description: Password of the user to access phpIPAM server required: true type: str username: description: Username to access phpIPAM server required: true type: str server_url: description: URL of the phpIPAM server required: true type: str description: description: A descriptive text for that entity required: false type: str routing_domain: description: Name of the L2 routing domain of that VLAN required: false type: string validate_certs: default: true description: Is the TLS certificate of the phpIPAM server verified or not. required: false type: bool