- hosts: fortimanager00 collections: - fortinet.fortimanager connection: httpapi vars: ansible_httpapi_use_ssl: True ansible_httpapi_validate_certs: False ansible_httpapi_port: 443 tasks: - name: Exclude one or more ranges of IP addresses from being assigned to clients. fmgr_system_dhcp_server_excluderange: bypass_validation: False adom: ansible server: 1 # id state: present system_dhcp_server_excluderange: end-ip: 222.222.222.7 id: 1 start-ip: 222.222.222.6