PARALLAX

fortios_firewall_addrgrp

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_addrgrp

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
enable_logboolfalse
firewall_addrgrpdict
member_pathstr
member_statestr
statestryes
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_firewall_addrgrp:
    access_token: '{{ fortios_access_token }}'
    firewall_addrgrp:
        allow_routing: enable
        category: default
        color: "0"
        comment: Comment.
        exclude: enable
        exclude_member:
            - name: default_name_9 (source firewall.address.name firewall.addrgrp.name)
        fabric_object: enable
        member:
            - name: default_name_12 (source firewall.address.name firewall.addrgrp.name)
        name: default_name_13
        tagging:
            - name: default_name_16
              tags:
                - name: default_name_18 (source system.object-tagging.tags.name)
        type: default
        visibility: enable
    state: present
    vdom: root
  name: Configure IPv4 address groups.
Search
    ↑ ↓ move↵ openesc close