- 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 IPv4 header policies. fmgr_pkg_header_policy: bypass_validation: False pkg: ansible state: present pkg_header_policy: action: accept # comments: 'ansible-comment' dstaddr: gall dstintf: any name: ansible-test-header policyid: 1073741826 # must larger than 2^30(1074741824), since header/footer policy is a special policy schedule: galways service: gALL srcaddr: gall srcintf: any status: disable