community.network.ig_unit_information – Get unit information from an Ingate SBC.
Note
This plugin is part of the community.network collection (version 3.0.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.ig_unit_information
.
Requirements
The below requirements are needed on the host that executes this module.
ingatesdk >= 1.0.6
Parameters
Parameter |
Comments |
---|---|
A dict object containing connection details. |
|
The hostname or IP address to the unit. |
|
The password for the REST API user. |
|
Which HTTP(S) port to connect to. |
|
Which HTTP protocol to use. Choices:
|
|
The timeout (in seconds) for REST API requests. |
|
The username of the REST API user. |
|
Verify the unit’s HTTPS certificate. Choices:
|
|
REST API version. Choices:
|
Notes
Note
This module requires that the Ingate Python SDK is installed on the host. To install the SDK use the pip command from your shell
pip install ingatesdk
.
Examples
- name: Get unit information
community.network.ig_unit_information:
client:
version: v1
scheme: http
address: 192.168.1.1
username: alice
password: foobar
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Information about the unit Returned: success |
|
The installation identifier Returned: success Sample: “any” |
|
List of interface names Returned: success Sample: “eth0 eth1 eth2 eth3 eth4 eth5” |
|
The unit’s language Returned: success Sample: “en” |
|
License MAC information Returned: success Sample: “any” |
|
License name information Returned: success Sample: “Example Inc” |
|
The MAC address of the first interface Returned: success Sample: “52:54:00:4c:e2:07” |
|
Operational mode of the unit Returned: success Sample: “Siparator” |
|
Installed module licenses Returned: success Sample: “failover vpn sip qturn ems qos rsc voipsm” |
|
Installed patches on the unit Returned: success Sample: [] |
|
The product name Returned: success Sample: “Software SIParator/Firewall” |
|
The serial number of the unit Returned: success Sample: “IG-200-839-2008-0” |
|
The system identifier of the unit Returned: success Sample: “IG-200-839-2008-0” |
|
The name of the unit Returned: success Sample: “Testname” |
|
Firmware version Returned: success Sample: “6.2.0-beta2” |
Authors
Ingate Systems AB (@ingatesystems)