f5os_ntp_server – Manage NTP servers on F5OS based systems¶
New in version 1.8.0.
Parameters¶
| Parameter | Choices/Defaults | Configuration | Comments |
|---|---|---|---|
|
iburst
boolean
|
|
Specifies to enable iburst for the NTP service. Specify false to disable it.
|
|
|
key_id
integer
|
Specifies the key ID which identifies the key used for authentication.
|
||
|
ntp_authentication
boolean
|
|
Specifies to enable NTP Authentication if passed True. Specify false to disable it.
|
|
|
ntp_service
boolean
|
|
Specifies to enable NTP service if passed True. Specify false to disable it.
|
|
|
prefer
boolean
|
|
Specifies that this server should be the preferred one if true. Specify false if not.
|
|
|
server
string
/ required
|
Specifies the address of the NTP server.
It can be either an IPv4 or IPv6 or an FQDN.
|
||
|
state
string
|
|
The NTP server state.
If
present, creates the specified NTP server if it does not exist, or updates the existing one.If
absent, deletes the NTP server if it exists. |
Examples¶
- name: Create an ntp server
f5os_ntp_server:
server: "1.2.3.4"
key_id: 10
prefer: true
iburst: true
- name: Update an ntp server
f5os_ntp_server:
server: "1.2.3.4"
key_id: 15
- name: Delete an ntp server
f5os_ntp_server:
server: "1.2.3.4"
state: absent
Return Values¶
The following are the fields unique to this module:
| Key | Returned | Description |
|---|---|---|
|
key_id
integer
|
changed |
Specifies the key ID which identifies the key used for authentication.
Sample:
102
|
|
server
string
|
changed |
Specifies the address of the NTP server.
Sample:
1.2.3.4
|