File: //lib/python3.9/site-packages/ansible_collections/fortinet/fortios/examples/set_system_ntp.yml
---
- hosts: localhost
collections:
- fortinet.fortios
vars:
host: "192.168.52.177"
username: "admin"
password: ""
vdom: "root"
ssl_verify: "False"
tasks:
- name: Configure system NTP information.
fortios_system_ntp:
host: "{{ host }}"
username: "{{ username }}"
password: "{{ password }}"
vdom: "{{ vdom }}"
https: "True"
ssl_verify: "{{ ssl_verify }}"
system_ntp:
ntpsync: "disable"
server_mode: "disable"