- 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 IPS sensor. fmgr_ips_sensor: bypass_validation: False adom: ansible state: present ips_sensor: block-malicious-url: disable comment: 'ansible-comment' name: 'ansible-test-ipssensor'