- hosts: fortimanager00 collections: - fortinet.fortimanager connection: httpapi vars: ansible_httpapi_use_ssl: True ansible_httpapi_validate_certs: False ansible_httpapi_port: 443 tasks: - name: NTP server. fmgr_system_ntp_ntpserver: bypass_validation: False state: present system_ntp_ntpserver: authentication: disable id: 1 key: fortinet key-id: 1 ntpv3: enable server: ntp1.fortinet.net