fortios_system_gre_tunnel
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_system_gre_tunnel
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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| system_gre_tunnel | dict | |||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_system_gre_tunnel:
access_token: '{{ fortios_access_token }}'
state: present
system_gre_tunnel:
auto_asic_offload: enable
checksum_reception: disable
checksum_transmission: disable
dscp_copying: disable
ip_version: "4"
keepalive_failtimes: "10"
keepalive_interval: "0"
key_inbound: "0"
key_outbound: "0"
name: default_name_16
sequence_number_reception: disable
sequence_number_transmission: disable
use_sdwan: disable
vdom: root
name: Configure GRE tunnel.