PARALLAX

fortios_firewall_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_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_service_customdict
member_pathstr
member_statestr
statestryes
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_firewall_service_custom:
    access_token: '{{ fortios_access_token }}'
    firewall_service_custom:
        app_category:
            - id: "4"
        app_service_type: disable
        application:
            - id: "7"
        check_reset_range: disable
        color: "0"
        comment: Comment.
        fabric_object: enable
        helper: auto
        icmpcode: 0
        icmptype: 0
        name: default_name_18
        protocol: TCP/UDP/UDP-Lite/SCTP
        protocol_number: "0"
        proxy: enable
        tcp_halfclose_timer: "0"
        tcp_halfopen_timer: "0"
        tcp_rst_timer: "0"
        tcp_timewait_timer: "0"
        udp_idle_timer: "0"
        visibility: enable
    state: present
    vdom: root
  name: Configure custom services.
Search
    ↑ ↓ move↵ openesc close