PARALLAX

fortios_firewall_internet_service_addition

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_internet_service_addition

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

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_firewall_internet_service_addition:
    access_token: '{{ fortios_access_token }}'
    firewall_internet_service_addition:
        comment: Comment.
        entry:
            - addr_mode: ipv4
              id: "6"
              port_range:
                - end_port: "65535"
                  id: "9"
                  start_port: "1"
              protocol: "0"
        id: "12"
    state: present
    vdom: root
  name: Configure Internet Services Addition.
Search
    ↑ ↓ move↵ openesc close