PARALLAX

fmgr_pkg_header_policy

Manage FortiManager through native controller JSON-RPC and httpapi inventory

Collection: fortinet.fortimanager

Full Name: fortinet.fortimanager.fmgr_pkg_header_policy

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Manage FortiManager through native controller JSON-RPC and httpapi inventory

Parameters

NameTypeRequiredDefaultDescription
access_tokenstr
bypass_validationboolfalse
enable_logboolfalse
forticloud_access_tokenstr
pkgstryes
pkg_header_policydict
proposed_methodstr
rc_failedlist
rc_succeededlist
revision_notestr
statestryes
workspace_locking_adomstr
workspace_locking_timeoutint300

Example

yaml
- fortinet.fortimanager.fmgr_pkg_header_policy:
    bypass_validation: false
    pkg: ansible
    pkg_header_policy:
        action: accept
        comments: ansible-comment
        dstaddr: gall
        dstintf: any
        name: ansible-test-header
        policyid: 1073741826
        schedule: galways
        service: gALL
        srcaddr: gall
        srcintf: any
        status: disable
    state: present
  name: Configure IPv4 header policies.
Search
    ↑ ↓ move↵ openesc close