PARALLAX

fortios_firewall_policy

Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS

Collection: fortinet.fortios

Full Name: fortinet.fortios.fortios_firewall_policy

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

Synopsis

Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS

Parameters

NameTypeRequiredDefaultDescription
access_tokenstr
actionstr
afterstr
beforestr
enable_logboolfalse
firewall_policydict
member_pathstr
member_statestr
selfstr
statestr
vdomstrroot

Example

yaml
- name: Disable the example firewall policy
  fortinet.fortios.fortios_firewall_policy:
    state: present
    firewall_policy:
      policyid: 100
      status: disable
Search
    ↑ ↓ move↵ openesc close