- hosts: fortimanager00 collections: - fortinet.fortimanager connection: httpapi vars: ansible_httpapi_use_ssl: True ansible_httpapi_validate_certs: False ansible_httpapi_port: 443 tasks: - name: Configure SMS server for sending SMS messages to support user authentication. fmgr_system_smsserver: bypass_validation: False adom: ansible state: present system_smsserver: mail-server: ansible-test name: ansible-test-smsserver