- 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 peer users. fmgr_user_peer: bypass_validation: False adom: ansible state: present user_peer: cn-type: email # name: ansible-test-peer passwd: fortinet