piolink_yhoh / piolink_yhoh.pask_test / 1.0.5 / module / pask_ntp Configuring NTP client setting | "added in version" 2.10 of piolink_yhoh.pask_test" Authors: Yohan Oh (@piolink-yhoh)piolink_yhoh.pask_test.pask_ntp (1.0.5) — module
Install with ansible-galaxy collection install piolink_yhoh.pask_test:==1.0.5
collections: - name: piolink_yhoh.pask_test version: 1.0.5
You can configure NTP client setting of the PAS-K.
--- - name: Ntp Test hosts: all connection: local collections: - piolink_yhoh.pask_test tasks: - name: ntp pask_ntp: prest_ip: "{{ansible_host}}" prest_port: "{{ansible_port}}" user_id: "{{user_id}}" user_pw: "{{user_pw}}" primary_server: "192.168.0.10" secondary_server: "192.168.0.20" minpoll: "4" maxpoll: "8" status: "disable"
status: description: - Enter whether to use the NTP client service. - The value should be 'disable' or 'enable'. type: str maxpoll: description: - Enter the maximum value for the NTP synchronization period. - The value should be entered as an exponent of 2. type: str minpoll: description: - Enter the minimum value for the NTP synchronization period. - The value should be entered as an exponent of 2. type: str user_id: description: - Enter the PAS-K user id. required: true type: str user_pw: description: - Enter the PAS-K user password. required: true type: str prest_ip: description: - Enter the PAS-K IP address. required: true type: str prest_port: description: - Enter the port number of PAS-K used for PREST-API. required: true type: str primary_server: description: - Enter the NTP primary-server IP address. type: str secondary_server: description: - Enter the NTP secondary-servery IP address. type: str