- 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 proxy policies. fmgr_pkg_firewall_proxypolicy: bypass_validation: False adom: ansible pkg: ansible # package name state: present pkg_firewall_proxypolicy: action: accept # comments: ansible-comment dstaddr: all dstintf: any policyid: 1 schedule: always service: ALL srcaddr: all srcintf: any status: disable