community.general.infinity – Manage Infinity IPAM using Rest API¶
Note
This plugin is part of the community.general collection (version 2.5.1).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.infinity
.
Parameters¶
Examples¶
---
- hosts: localhost
connection: local
strategy: debug
tasks:
- name: Reserve network into Infinity IPAM
community.general.infinity:
server_ip: 80.75.107.12
username: username
password: password
action: reserve_network
network_name: reserve_new_ansible_network
network_family: 4
network_type: lan
network_id: 1201
network_size: /28
register: infinity
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Meirong Liu (@MeganLiu)