cpm_time_config
Set Time/Date parameters in WTI OOB and PDU devices
Collection: wti.remote
Full Name: wti.remote.cpm_time_config
Synopsis
Set Time/Date parameters in WTI OOB and PDU devices
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| cpm_url | string | yes | WTI device host or host:port | |
| cpm_username | string | yes | WTI username; an empty username selects an API token | |
| cpm_password | string | yes | WTI password or API token | |
| date | string | Device date | ||
| time | string | Device time | ||
| timezone | int | Timezone selector | ||
| ntpenable | int | Enable NTP | ||
| ipv4address | string | Comma-separated primary and secondary IPv4 NTP servers | ||
| ipv6address | string | Comma-separated primary and secondary IPv6 NTP servers | ||
| timeout | int | NTP timeout from 1 to 60 seconds | ||
| use_https | bool | true | Use HTTPS instead of HTTP | |
| validate_certs | bool | true | Validate the device TLS certificate | |
| use_proxy | bool | false | Observe HTTP proxy environment variables |
Example
yaml
- name: Set a fixed time and date on a WTI device
wti.remote.cpm_time_config:
cpm_url: nonexist.wti.com
cpm_username: super
cpm_password: super
date: 12/12/2019
time: "09:23:46"
timezone: 5
use_https: true
validate_certs: false