PARALLAX

fortios_firewall_internet_service

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

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

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_firewall_internet_service:
    access_token: '{{ fortios_access_token }}'
    firewall_internet_service:
        database: isdb
        direction: src
        entry:
            - id: "6"
              ip_number: "32767"
              ip_range_number: "2147483647"
              port: "32767"
              protocol: "127"
        extra_ip_range_number: "0"
        icon_id: "0"
        id: "13"
        ip_number: "0"
        ip_range_number: "0"
        name: default_name_16
        obsolete: "0"
        offset: "2147483647"
        reputation: "2147483647"
        singularity: "0"
        sld_id: "2147483647"
    state: present
    vdom: root
  name: Show Internet Service application.
Search
    ↑ ↓ move↵ openesc close