bigip_device_ntp
Manage NTP servers and timezone on a BIG-IP
Collection: f5networks.f5_modules
Full Name: f5networks.f5_modules.bigip_device_ntp
Synopsis
Manage NTP servers and timezone on a BIG-IP
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| provider | dict | BIG-IP connection options: server, server_port (443), user, password (aliases pass/pwd), validate_certs (true), transport (rest), timeout, no_f5_teem (false), auth_provider. Password and aliases are private. | ||
| ntp_servers | list | NTP servers. At least one of ntp_servers or timezone is required. Empty, [’’] or [’none’] clears the configured list. | ||
| timezone | str | Timezone for NTP lookups. At least one of ntp_servers or timezone is required. | ||
| state | str | present | present or absent. Private absent profile preserves source want-minus-have and admits at most one distinct requested server. |
Example
yaml
- name: Set NTP server
f5networks.f5_modules.bigip_device_ntp:
ntp_servers:
- 192.0.2.23
provider:
password: '{{ bigip_password }}'
server: lb.mydomain.com
user: admin
delegate_to: localhost
- name: Set timezone
f5networks.f5_modules.bigip_device_ntp:
timezone: America/Los_Angeles
provider:
password: '{{ bigip_password }}'
server: lb.mydomain.com
user: admin
delegate_to: localhost