Note
This plugin is part of the community.fortios collection (version 1.0.0).
You might already have this collection installed if you are using the ansible
package. It is not included in ansible-core
. To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.fortios
.
To use it in a playbook, specify: community.fortios.fmgr_secprof_wanopt
.
Parameter | Choices/Defaults | Comments |
---|---|---|
adom string | Default: "root" | The ADOM the configuration should belong to. |
auth_group string | Optionally add an authentication group to restrict access to the WAN Optimization tunnel to peers in the authentication group. | |
cifs string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
cifs_byte_caching string |
| Enable/disable byte-caching for HTTP. Byte caching reduces the amount of traffic by caching file data sent across the WAN and in future serving if from the cache. |
cifs_log_traffic string |
| Enable/disable logging. |
cifs_port string | Single port number or port number range for CIFS. Only packets with a destination port number that matches this port number or range are accepted by this profile. | |
cifs_prefer_chunking string |
| Select dynamic or fixed-size data chunking for HTTP WAN Optimization. |
cifs_secure_tunnel string |
| Enable/disable securing the WAN Opt tunnel using SSL. Secure and non-secure tunnels use the same TCP port (7810). |
cifs_status string |
| Enable/disable HTTP WAN Optimization. |
cifs_tunnel_sharing string |
| Tunnel sharing mode for aggressive/non-aggressive and/or interactive/non-interactive protocols. |
comments string | Comment. | |
ftp string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
ftp_byte_caching string |
| Enable/disable byte-caching for HTTP. Byte caching reduces the amount of traffic by caching file data sent across the WAN and in future serving if from the cache. |
ftp_log_traffic string |
| Enable/disable logging. |
ftp_port string | Single port number or port number range for FTP. Only packets with a destination port number that matches this port number or range are accepted by this profile. | |
ftp_prefer_chunking string |
| Select dynamic or fixed-size data chunking for HTTP WAN Optimization. |
ftp_secure_tunnel string |
| Enable/disable securing the WAN Opt tunnel using SSL. Secure and non-secure tunnels use the same TCP port (7810). |
ftp_status string |
| Enable/disable HTTP WAN Optimization. |
ftp_tunnel_sharing string |
| Tunnel sharing mode for aggressive/non-aggressive and/or interactive/non-interactive protocols. |
http string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
http_byte_caching string |
| Enable/disable byte-caching for HTTP. Byte caching reduces the amount of traffic by caching file data sent across the WAN and in future serving if from the cache. |
http_log_traffic string |
| Enable/disable logging. |
http_port string | Single port number or port number range for HTTP. Only packets with a destination port number that matches this port number or range are accepted by this profile. | |
http_prefer_chunking string |
| Select dynamic or fixed-size data chunking for HTTP WAN Optimization. |
http_secure_tunnel string |
| Enable/disable securing the WAN Opt tunnel using SSL. Secure and non-secure tunnels use the same TCP port (7810). |
http_ssl string |
| Enable/disable SSL/TLS offloading (hardware acceleration) for HTTPS traffic in this tunnel. |
http_ssl_port string | Port on which to expect HTTPS traffic for SSL/TLS offloading. | |
http_status string |
| Enable/disable HTTP WAN Optimization. |
http_tunnel_non_http string |
| Configure how to process non-HTTP traffic when a profile configured for HTTP traffic accepts a non-HTTP session. Can occur if an application sends non-HTTP traffic using an HTTP destination port. |
http_tunnel_sharing string |
| Tunnel sharing mode for aggressive/non-aggressive and/or interactive/non-interactive protocols. |
http_unknown_http_version string |
| How to handle HTTP sessions that do not comply with HTTP 0.9, 1.0, or 1.1. |
mapi string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
mapi_byte_caching string |
| Enable/disable byte-caching for HTTP. Byte caching reduces the amount of traffic by caching file data sent across the WAN and in future serving if from the cache. |
mapi_log_traffic string |
| Enable/disable logging. |
mapi_port string | Single port number or port number range for MAPI. Only packets with a destination port number that matches this port number or range are accepted by this profile. | |
mapi_secure_tunnel string |
| Enable/disable securing the WAN Opt tunnel using SSL. Secure and non-secure tunnels use the same TCP port (7810). |
mapi_status string |
| Enable/disable HTTP WAN Optimization. |
mapi_tunnel_sharing string |
| Tunnel sharing mode for aggressive/non-aggressive and/or interactive/non-interactive protocols. |
mode string |
| Sets one of three modes for managing the object. Allows use of soft-adds instead of overwriting existing values |
name string | Profile name. | |
tcp string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
tcp_byte_caching string |
| Enable/disable byte-caching for HTTP. Byte caching reduces the amount of traffic by caching file data sent across the WAN and in future serving if from the cache. |
tcp_byte_caching_opt string |
| Select whether TCP byte-caching uses system memory only or both memory and disk space. |
tcp_log_traffic string |
| Enable/disable logging. |
tcp_port string | Single port number or port number range for TCP. Only packets with a destination port number that matches this port number or range are accepted by this profile. | |
tcp_secure_tunnel string |
| Enable/disable securing the WAN Opt tunnel using SSL. Secure and non-secure tunnels use the same TCP port (7810). |
tcp_ssl string |
| Enable/disable SSL/TLS offloading. |
tcp_ssl_port string | Port on which to expect HTTPS traffic for SSL/TLS offloading. | |
tcp_status string |
| Enable/disable HTTP WAN Optimization. |
tcp_tunnel_sharing string |
| Tunnel sharing mode for aggressive/non-aggressive and/or interactive/non-interactive protocols. |
transparent string |
| Enable/disable transparent mode. |
Note
- name: DELETE Profile community.fortios.fmgr_secprof_wanopt: name: "Ansible_WanOpt_Profile" mode: "delete" - name: Create FMGR_WANOPT_PROFILE community.fortios.fmgr_secprof_wanopt: mode: "set" adom: "root" transparent: "enable" name: "Ansible_WanOpt_Profile" comments: "Created by Ansible" cifs: {byte-caching: "enable", log-traffic: "enable", port: 80, prefer-chunking: "dynamic", status: "enable", tunnel-sharing: "private"} ftp: {byte-caching: "enable", log-traffic: "enable", port: 80, prefer-chunking: "dynamic", secure-tunnel: "disable", status: "enable", tunnel-sharing: "private"}
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
api_result string | always | full API response, includes status code and message |
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/fortios/fmgr_secprof_wanopt_module.html