PARALLAX

fortios_firewall_internet_service_custom

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_custom

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

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_firewall_internet_service_custom:
    access_token: '{{ fortios_access_token }}'
    firewall_internet_service_custom:
        comment: Comment.
        disable_entry:
            - id: "5"
              ip_range:
                - id: "8"
              port: "32767"
              protocol: "127"
        entry:
            - addr_mode: ipv4
              dst:
                - name: default_name_15 (source firewall.address.name firewall.addrgrp.name)
              dst6:
                - name: default_name_17 (source firewall.address6.name firewall.addrgrp6.name)
              id: "18"
              port_range:
                - end_port: "65535"
                  id: "21"
                  start_port: "1"
              protocol: "0"
        master_service_id: "2147483647"
        name: default_name_25
        reputation: "3"
    state: present
    vdom: root
  name: Configure custom Internet Services.
Search
    ↑ ↓ move↵ openesc close