wti.remote.cpm_cellular_config module – Set Cellular runtime information and Parameters of the WTI device.
Note
This module is part of the wti.remote collection (version 1.0.11).
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 wti.remote.
To use it in a playbook, specify: wti.remote.cpm_cellular_config.
New in wti.remote 2.10.0
Synopsis
Set Cellular runtime information and Parameters of the WTI device
Parameters
Parameter |
Comments |
|---|---|
APN for the cellular modem in the WTI device. |
|
If the cellular modem is enabled in the WTI device. Choices:
|
|
This is the Password of the WTI device to send the module. |
|
This is the URL of the WTI device to send the module. |
|
This is the Username of the WTI device to send the module. |
|
Enables/disables the IP Passthrough feature. Choices:
|
|
When IP Passthrough is enabled, the Cellular HTTPS Port will be incremented by 5000. |
|
Enables/disables HTTPS. |
|
When IP Passthrough is enabled, the Cellular HTTP Port will be incremented by 5000. |
|
Enables/disables HTTP. |
|
Selects the interface that your downstream device/router will be connected to. |
|
The MAC address of your downstream device/router. |
|
When IP Passthrough is enabled, the Cellular SSH Port will be incremented by 5000. |
|
Enables/disables SSH. |
|
Designates to use an https connection or http connection. Choices:
|
|
Flag to control if the lookup will observe HTTP proxy environment variables when present. Choices:
|
|
If false, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. Choices:
|
|
Determines how often the Ping command will be sent after a previous Ping command receives no response. |
|
When enabled, the cellular modem will automatically be put back into sleep state when failure is resolved. |
|
Determines how many consecutive failures pings must be detected in order to initiate a Wakeup on Failure.. |
|
Enables/disables the Wakeup on Failure feature. Choices:
|
|
When the cellular modem is defined as the default gateway, this determines which interface will be the default gateway. |
|
The Ethernet port that will be used as the default gateway when the cellular modem is in the sleep state. |
|
Selects the primary host that will be pinged in order to test for failures. |
|
Selects the secondary host that will be pinged in order to test for failures. |
|
Selects the Ethernet interface(s) that will be monitored for failed ping responses. |
|
Determines how often the selected IP Address will be pinged. |
|
After an Ethernet failure has triggered a Wakeup, this feature is used to manually re-enable Wakeup On Failure. |
|
Determines whether the cell modem will be attached or detached from the cell tower when sleep mode is active. |
Notes
Note
Use
groups/cpminmodule_defaultsto set common options used between CPM modules.
Examples
# Set a static time/date and timezone of a WTI device
- name: Set APN and enable cellular modem in a WTI device
cpm_time_config:
cpm_url: "nonexist.wti.com"
cpm_username: "super"
cpm_password: "super"
use_https: true
validate_certs: false
apn: "vzwent.south"
cellenable: "1"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
The output JSON returned from the commands sent Returned: always |
|
APN for the cellular modem in the WTI device. Returned: success Sample: |
|
If the cellular modem is enabled in the WTI device. Returned: success Sample: |
|
Current k/v pairs of Cellular status of the WTI device. Returned: always Sample: |
|
Current k/v pairs of Cellular Modem Response info of the WTI device. Returned: always Sample: |
|
Current k/v pairs of IP Passthrough of the WTI device. Returned: always Sample: |
|
Current k/v pairs of CEllular Signal info of the WTI device. Returned: always Sample: |
|
Current k/v pairs of Wake up on Failure info of the WTI device. Returned: always Sample: |