:source: fmgr_user_radius_dynamicmapping.py
:orphan:
.. _fmgr_user_radius_dynamicmapping:
fmgr_user_radius_dynamicmapping -- Configure RADIUS server entries.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.. versionadded:: 2.0.0
.. warning::
Starting in version 3.0.0, all input arguments will be named using the underscore naming convention (snake_case).
- Argument name before 3.0.0: ``var-name``, ``var name``, ``var.name``
- New argument name starting in 3.0.0: ``var_name``
FortiManager Ansible v2.4+ supports both previous argument name and new underscore name.
You will receive deprecation warnings if you keep using the previous argument name.
You can ignore the warning by setting deprecation_warnings=False in ansible.cfg.
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module is able to configure a FortiManager device.
- Examples include all parameters and values need to be adjusted to data sources before usage.
- Tested with FortiManager v7.x.
Requirements
------------
The below requirements are needed on the host that executes this module.
- ansible-core>=2.16.0
FortiManager Version Compatibility
----------------------------------
.. raw:: html
Supported Version Ranges: v6.0.0 -> latest
Parameters
----------
.. raw:: html
- access_token -The token to access FortiManager without using username and password. type: str required: false
- bypass_validation - Only set to True when module schema diffs with FortiManager API structure, module continues to execute without validating parameters. type: bool required: false default: False
- enable_log - Enable/Disable logging for task. type: bool required: false default: False
- forticloud_access_token - Access token of forticloud managed API users, this option is available with FortiManager later than 6.4.0. type: str required: false
- proposed_method - The overridden method for the underlying Json RPC request. type: str required: false choices: set, update, add
- rc_succeeded - The rc codes list with which the conditions to succeed will be overriden. type: list required: false
- rc_failed - The rc codes list with which the conditions to fail will be overriden. type: list required: false
- state - The directive to create, update or delete an object type: str required: true choices: present, absent
- workspace_locking_adom - Acquire the workspace lock if FortiManager is running in workspace mode. type: str required: false choices: global, custom adom including root
- workspace_locking_timeout - The maximum time in seconds to wait for other users to release workspace lock. type: integer required: false default: 300
- revision_note - The change note that can be specified when an object is created or updated. type: string required: false
- adom - The parameter in requested url type: str required: true
- radius - The parameter in requested url type: str required: true
- user_radius_dynamicmapping - Configure RADIUS server entries. type: dict
- _scope Scope. type: list
more...
Supported Version Ranges: v6.0.0 -> latest
- name Name. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- vdom Vdom. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- acct_all_servers (Alias name: acct-all-servers) Acct all servers. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- acct_interim_interval (Alias name: acct-interim-interval) Acct interim interval. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- all_usergroup (Alias name: all-usergroup) All usergroup. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- auth_type (Alias name: auth-type) Auth type. type: str choices: [pap, chap, ms_chap, ms_chap_v2, auto]
more...
Supported Version Ranges: v6.0.0 -> latest
- class Class. type: list
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_carrier_endpoint_attribute (Alias name: dp-carrier-endpoint-attribute) Dp carrier endpoint attribute. type: str choices: [User-Name, User-Password, CHAP-Password, NAS-IP-Address, NAS-Port, Service-Type, Framed-Protocol, Framed-IP-Address, Framed-IP-Netmask, Framed-Routing, Filter-Id, Framed-MTU, Framed-Compression, Login-IP-Host, Login-Service, Login-TCP-Port, Reply-Message, Callback-Number, Callback-Id, Framed-Route, Framed-IPX-Network, State, Class, Vendor-Specific, Session-Timeout, Idle-Timeout, Termination-Action, Called-Station-Id, Calling-Station-Id, NAS-Identifier, Proxy-State, Login-LAT-Service, Login-LAT-Node, Login-LAT-Group, Framed-AppleTalk-Link, Framed-AppleTalk-Network, Framed-AppleTalk-Zone, Acct-Status-Type, Acct-Delay-Time, Acct-Input-Octets, Acct-Output-Octets, Acct-Session-Id, Acct-Authentic, Acct-Session-Time, Acct-Input-Packets, Acct-Output-Packets, Acct-Terminate-Cause, Acct-Multi-Session-Id, Acct-Link-Count, CHAP-Challenge, NAS-Port-Type, Port-Limit, Login-LAT-Port]
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_carrier_endpoint_block_attribute (Alias name: dp-carrier-endpoint-block-attribute) Dp carrier endpoint block attribute. type: str choices: [User-Name, User-Password, CHAP-Password, NAS-IP-Address, NAS-Port, Service-Type, Framed-Protocol, Framed-IP-Address, Framed-IP-Netmask, Framed-Routing, Filter-Id, Framed-MTU, Framed-Compression, Login-IP-Host, Login-Service, Login-TCP-Port, Reply-Message, Callback-Number, Callback-Id, Framed-Route, Framed-IPX-Network, State, Class, Vendor-Specific, Session-Timeout, Idle-Timeout, Termination-Action, Called-Station-Id, Calling-Station-Id, NAS-Identifier, Proxy-State, Login-LAT-Service, Login-LAT-Node, Login-LAT-Group, Framed-AppleTalk-Link, Framed-AppleTalk-Network, Framed-AppleTalk-Zone, Acct-Status-Type, Acct-Delay-Time, Acct-Input-Octets, Acct-Output-Octets, Acct-Session-Id, Acct-Authentic, Acct-Session-Time, Acct-Input-Packets, Acct-Output-Packets, Acct-Terminate-Cause, Acct-Multi-Session-Id, Acct-Link-Count, CHAP-Challenge, NAS-Port-Type, Port-Limit, Login-LAT-Port]
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_context_timeout (Alias name: dp-context-timeout) Dp context timeout. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_flush_ip_session (Alias name: dp-flush-ip-session) Dp flush ip session. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_hold_time (Alias name: dp-hold-time) Dp hold time. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_http_header (Alias name: dp-http-header) Dp http header. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_http_header_fallback (Alias name: dp-http-header-fallback) Dp http header fallback. type: str choices: [ip-header-address, default-profile]
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_http_header_status (Alias name: dp-http-header-status) Dp http header status. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_http_header_suppress (Alias name: dp-http-header-suppress) Dp http header suppress. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_log_dyn_flags (Alias name: dp-log-dyn_flags) Dp log dyn flags. type: list choices: [none, protocol-error, profile-missing, context-missing, accounting-stop-missed, accounting-event, radiusd-other, endpoint-block]
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_log_period (Alias name: dp-log-period) Dp log period. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_mem_percent (Alias name: dp-mem-percent) Dp mem percent. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_profile_attribute (Alias name: dp-profile-attribute) Dp profile attribute. type: str choices: [User-Name, User-Password, CHAP-Password, NAS-IP-Address, NAS-Port, Service-Type, Framed-Protocol, Framed-IP-Address, Framed-IP-Netmask, Framed-Routing, Filter-Id, Framed-MTU, Framed-Compression, Login-IP-Host, Login-Service, Login-TCP-Port, Reply-Message, Callback-Number, Callback-Id, Framed-Route, Framed-IPX-Network, State, Class, Vendor-Specific, Session-Timeout, Idle-Timeout, Termination-Action, Called-Station-Id, Calling-Station-Id, NAS-Identifier, Proxy-State, Login-LAT-Service, Login-LAT-Node, Login-LAT-Group, Framed-AppleTalk-Link, Framed-AppleTalk-Network, Framed-AppleTalk-Zone, Acct-Status-Type, Acct-Delay-Time, Acct-Input-Octets, Acct-Output-Octets, Acct-Session-Id, Acct-Authentic, Acct-Session-Time, Acct-Input-Packets, Acct-Output-Packets, Acct-Terminate-Cause, Acct-Multi-Session-Id, Acct-Link-Count, CHAP-Challenge, NAS-Port-Type, Port-Limit, Login-LAT-Port]
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_profile_attribute_key (Alias name: dp-profile-attribute-key) Dp profile attribute key. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_radius_response (Alias name: dp-radius-response) Dp radius response. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_radius_server_port (Alias name: dp-radius-server-port) Dp radius server port. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_secret (Alias name: dp-secret) Dp secret. type: list
more...
Supported Version Ranges: v6.0.0 -> latest
- dp_validate_request_secret (Alias name: dp-validate-request-secret) Dp validate request secret. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- dynamic_profile (Alias name: dynamic-profile) Dynamic profile. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- endpoint_translation (Alias name: endpoint-translation) Endpoint translation. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_carrier_endpoint_convert_hex (Alias name: ep-carrier-endpoint-convert-hex) Ep carrier endpoint convert hex. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_carrier_endpoint_header (Alias name: ep-carrier-endpoint-header) Ep carrier endpoint header. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_carrier_endpoint_header_suppress (Alias name: ep-carrier-endpoint-header-suppress) Ep carrier endpoint header suppress. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_carrier_endpoint_prefix (Alias name: ep-carrier-endpoint-prefix) Ep carrier endpoint prefix. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_carrier_endpoint_prefix_range_max (Alias name: ep-carrier-endpoint-prefix-range-max) Ep carrier endpoint prefix range max. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_carrier_endpoint_prefix_range_min (Alias name: ep-carrier-endpoint-prefix-range-min) Ep carrier endpoint prefix range min. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_carrier_endpoint_prefix_string (Alias name: ep-carrier-endpoint-prefix-string) Ep carrier endpoint prefix string. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_carrier_endpoint_source (Alias name: ep-carrier-endpoint-source) Ep carrier endpoint source. type: str choices: [http-header, cookie]
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_ip_header (Alias name: ep-ip-header) Ep ip header. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_ip_header_suppress (Alias name: ep-ip-header-suppress) Ep ip header suppress. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_missing_header_fallback (Alias name: ep-missing-header-fallback) Ep missing header fallback. type: str choices: [session-ip, policy-profile]
more...
Supported Version Ranges: v6.0.0 -> latest
- ep_profile_query_type (Alias name: ep-profile-query-type) Ep profile query type. type: str choices: [session-ip, extract-ip, extract-carrier-endpoint]
more...
Supported Version Ranges: v6.0.0 -> latest
- h3c_compatibility (Alias name: h3c-compatibility) H3c compatibility. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- nas_ip (Alias name: nas-ip) Nas ip. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- password_encoding (Alias name: password-encoding) Password encoding. type: str choices: [ISO-8859-1, auto]
more...
Supported Version Ranges: v6.0.0 -> latest
- password_renewal (Alias name: password-renewal) Password renewal. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- radius_coa (Alias name: radius-coa) Radius coa. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- radius_port (Alias name: radius-port) Radius port. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso Rsso. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso_context_timeout (Alias name: rsso-context-timeout) Rsso context timeout. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso_endpoint_attribute (Alias name: rsso-endpoint-attribute) Rsso endpoint attribute. type: str choices: [User-Name, User-Password, CHAP-Password, NAS-IP-Address, NAS-Port, Service-Type, Framed-Protocol, Framed-IP-Address, Framed-IP-Netmask, Framed-Routing, Filter-Id, Framed-MTU, Framed-Compression, Login-IP-Host, Login-Service, Login-TCP-Port, Reply-Message, Callback-Number, Callback-Id, Framed-Route, Framed-IPX-Network, State, Class, Session-Timeout, Idle-Timeout, Termination-Action, Called-Station-Id, Calling-Station-Id, NAS-Identifier, Proxy-State, Login-LAT-Service, Login-LAT-Node, Login-LAT-Group, Framed-AppleTalk-Link, Framed-AppleTalk-Network, Framed-AppleTalk-Zone, Acct-Status-Type, Acct-Delay-Time, Acct-Input-Octets, Acct-Output-Octets, Acct-Session-Id, Acct-Authentic, Acct-Session-Time, Acct-Input-Packets, Acct-Output-Packets, Acct-Terminate-Cause, Acct-Multi-Session-Id, Acct-Link-Count, CHAP-Challenge, NAS-Port-Type, Port-Limit, Login-LAT-Port]
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso_endpoint_block_attribute (Alias name: rsso-endpoint-block-attribute) Rsso endpoint block attribute. type: str choices: [User-Name, User-Password, CHAP-Password, NAS-IP-Address, NAS-Port, Service-Type, Framed-Protocol, Framed-IP-Address, Framed-IP-Netmask, Framed-Routing, Filter-Id, Framed-MTU, Framed-Compression, Login-IP-Host, Login-Service, Login-TCP-Port, Reply-Message, Callback-Number, Callback-Id, Framed-Route, Framed-IPX-Network, State, Class, Session-Timeout, Idle-Timeout, Termination-Action, Called-Station-Id, Calling-Station-Id, NAS-Identifier, Proxy-State, Login-LAT-Service, Login-LAT-Node, Login-LAT-Group, Framed-AppleTalk-Link, Framed-AppleTalk-Network, Framed-AppleTalk-Zone, Acct-Status-Type, Acct-Delay-Time, Acct-Input-Octets, Acct-Output-Octets, Acct-Session-Id, Acct-Authentic, Acct-Session-Time, Acct-Input-Packets, Acct-Output-Packets, Acct-Terminate-Cause, Acct-Multi-Session-Id, Acct-Link-Count, CHAP-Challenge, NAS-Port-Type, Port-Limit, Login-LAT-Port]
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso_ep_one_ip_only (Alias name: rsso-ep-one-ip-only) Rsso ep one ip only. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso_flush_ip_session (Alias name: rsso-flush-ip-session) Rsso flush ip session. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso_log_flags (Alias name: rsso-log-flags) Rsso log flags. type: list choices: [none, protocol-error, profile-missing, context-missing, accounting-stop-missed, accounting-event, radiusd-other, endpoint-block]
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso_log_period (Alias name: rsso-log-period) Rsso log period. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso_radius_response (Alias name: rsso-radius-response) Rsso radius response. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso_radius_server_port (Alias name: rsso-radius-server-port) Rsso radius server port. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso_secret (Alias name: rsso-secret) Rsso secret. type: list
more...
Supported Version Ranges: v6.0.0 -> latest
- rsso_validate_request_secret (Alias name: rsso-validate-request-secret) Rsso validate request secret. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- secondary_secret (Alias name: secondary-secret) Secondary secret. type: list
more...
Supported Version Ranges: v6.0.0 -> latest
- secondary_server (Alias name: secondary-server) Secondary server. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- secret Secret. type: list
more...
Supported Version Ranges: v6.0.0 -> latest
- server Server. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- source_ip (Alias name: source-ip) Source ip. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- sso_attribute (Alias name: sso-attribute) Sso attribute. type: str choices: [User-Name, User-Password, CHAP-Password, NAS-IP-Address, NAS-Port, Service-Type, Framed-Protocol, Framed-IP-Address, Framed-IP-Netmask, Framed-Routing, Filter-Id, Framed-MTU, Framed-Compression, Login-IP-Host, Login-Service, Login-TCP-Port, Reply-Message, Callback-Number, Callback-Id, Framed-Route, Framed-IPX-Network, State, Class, Session-Timeout, Idle-Timeout, Termination-Action, Called-Station-Id, Calling-Station-Id, NAS-Identifier, Proxy-State, Login-LAT-Service, Login-LAT-Node, Login-LAT-Group, Framed-AppleTalk-Link, Framed-AppleTalk-Network, Framed-AppleTalk-Zone, Acct-Status-Type, Acct-Delay-Time, Acct-Input-Octets, Acct-Output-Octets, Acct-Session-Id, Acct-Authentic, Acct-Session-Time, Acct-Input-Packets, Acct-Output-Packets, Acct-Terminate-Cause, Acct-Multi-Session-Id, Acct-Link-Count, CHAP-Challenge, NAS-Port-Type, Port-Limit, Login-LAT-Port]
more...
Supported Version Ranges: v6.0.0 -> latest
- sso_attribute_key (Alias name: sso-attribute-key) Sso attribute key. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- sso_attribute_value_override (Alias name: sso-attribute-value-override) Sso attribute value override. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- tertiary_secret (Alias name: tertiary-secret) Tertiary secret. type: list
more...
Supported Version Ranges: v6.0.0 -> latest
- tertiary_server (Alias name: tertiary-server) Tertiary server. type: str
more...
Supported Version Ranges: v6.0.0 -> latest
- timeout Timeout. type: int
more...
Supported Version Ranges: v6.0.0 -> latest
- use_group_for_profile (Alias name: use-group-for-profile) Use group for profile. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- use_management_vdom (Alias name: use-management-vdom) Use management vdom. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- username_case_sensitive (Alias name: username-case-sensitive) Username case sensitive. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.0.0 -> latest
- interface Interface. type: str
more...
Supported Version Ranges: v6.2.5 -> v6.2.13, v6.4.1 -> latest
- interface_select_method (Alias name: interface-select-method) Interface select method. type: str choices: [auto, sdwan, specify]
more...
Supported Version Ranges: v6.2.5 -> v6.2.13, v6.4.1 -> latest
- group_override_attr_type (Alias name: group-override-attr-type) Group override attr type. type: str choices: [filter-Id, class]
more...
Supported Version Ranges: v6.4.0 -> latest
- switch_controller_acct_fast_framedip_detect (Alias name: switch-controller-acct-fast-framedip-detect) Switch controller acct fast framedip detect. type: int
more...
Supported Version Ranges: v6.4.0 -> latest
- accounting_server (Alias name: accounting-server) Accounting server. type: list
more...
Supported Version Ranges: v6.2.6 -> v6.2.13, v6.4.2 -> latest
- id Id. type: int
more...
Supported Version Ranges: v6.2.6 -> v6.2.13, v6.4.2 -> latest
- interface Interface. type: str
more...
Supported Version Ranges: v6.2.6 -> v6.2.13, v6.4.2 -> latest
- interface_select_method (Alias name: interface-select-method) Interface select method. type: str choices: [auto, sdwan, specify]
more...
Supported Version Ranges: v6.2.6 -> v6.2.13, v6.4.2 -> latest
- port Port. type: int
more...
Supported Version Ranges: v6.2.6 -> v6.2.13, v6.4.2 -> latest
- secret Secret. type: list
more...
Supported Version Ranges: v6.2.6 -> v6.2.13, v6.4.2 -> latest
- server Server. type: str
more...
Supported Version Ranges: v6.2.6 -> v6.2.13, v6.4.2 -> latest
- source_ip (Alias name: source-ip) Source ip. type: str
more...
Supported Version Ranges: v6.2.6 -> v6.2.13, v6.4.2 -> latest
- status Status. type: str choices: [disable, enable]
more...
Supported Version Ranges: v6.2.6 -> v6.2.13, v6.4.2 -> latest
- vrf_select (Alias name: vrf-select) Vrf id used for connection to server. type: int
more...
Supported Version Ranges: v7.6.2 -> latest
- switch_controller_service_type (Alias name: switch-controller-service-type) Switch controller service type. type: list choices: [login, framed, callback-login, callback-framed, outbound, administrative, nas-prompt, authenticate-only, callback-nas-prompt, call-check, callback-administrative]
more...
Supported Version Ranges: v6.4.2 -> latest
- delimiter Configure delimiter to be used for separating profile group names in the sso attribute (default = plus character +). type: str choices: [plus, comma]
more...
Supported Version Ranges: v7.2.0 -> latest
- mac_case (Alias name: mac-case) Mac authentication case (default = lowercase). type: str choices: [uppercase, lowercase]
more...
Supported Version Ranges: v7.2.1 -> latest
- mac_password_delimiter (Alias name: mac-password-delimiter) Mac authentication password delimiter (default = hyphen). type: str choices: [hyphen, single-hyphen, colon, none]
more...
Supported Version Ranges: v7.2.1 -> latest
- mac_username_delimiter (Alias name: mac-username-delimiter) Mac authentication username delimiter (default = hyphen). type: str choices: [hyphen, single-hyphen, colon, none]
more...
Supported Version Ranges: v7.2.1 -> latest
- nas_id (Alias name: nas-id) Custom nas identifier. type: str
more...
Supported Version Ranges: v7.2.2 -> latest
- nas_id_type (Alias name: nas-id-type) Nas identifier type configuration (default = legacy). type: str choices: [legacy, custom, hostname]
more...
Supported Version Ranges: v7.2.2 -> latest
- ca_cert (Alias name: ca-cert) Ca of server to trust under tls. type: str
more...
Supported Version Ranges: v7.4.0 -> latest
- client_cert (Alias name: client-cert) Client certificate to use under tls. type: str
more...
Supported Version Ranges: v7.4.0 -> latest
- server_identity_check (Alias name: server-identity-check) Enable/disable radius server identity check (verify server domain name/ip address against the server certificate). type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.0 -> latest
- status_ttl (Alias name: status-ttl) Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300). type: int
more...
Supported Version Ranges: v7.4.0 -> latest
- tls_min_proto_version (Alias name: tls-min-proto-version) Minimum supported protocol version for tls connections (default is to follow system global setting). type: str choices: [default, TLSv1, TLSv1-1, TLSv1-2, SSLv3, TLSv1-3]
more...
Supported Version Ranges: v7.4.0 -> latest
- transport_protocol (Alias name: transport-protocol) Transport protocol to be used (default = udp). type: str choices: [udp, tcp, tls]
more...
Supported Version Ranges: v7.4.0 -> latest
- account_key_cert_field (Alias name: account-key-cert-field) Define subject identity field in certificate for user access right checking. type: str choices: [othername, rfc822name, dnsname, cn]
more...
Supported Version Ranges: v7.4.1 -> latest
- account_key_processing (Alias name: account-key-processing) Account key processing operation. type: str choices: [same, strip]
more...
Supported Version Ranges: v7.4.1 -> latest
- call_station_id_type (Alias name: call-station-id-type) Calling & called station identifier type configuration (default = legacy), this option is not available for 802. type: str choices: [legacy, IP, MAC]
more...
Supported Version Ranges: v7.4.1 -> latest
- switch_controller_nas_ip_dynamic (Alias name: switch-controller-nas-ip-dynamic) Enable/disable switch-controller nas-ip dynamic to dynamically set nas-ip. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.2.6 -> v7.2.12, v7.4.2 -> latest
- source_ip_interface (Alias name: source-ip-interface) Source interface for communication with the radius server. type: list
more...
Supported Version Ranges: v7.6.0 -> latest
- require_message_authenticator (Alias name: require-message-authenticator) Require message authenticator in authentication response. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.2.10 -> v7.2.12, v7.4.6 -> v7.4.10, v7.6.2 -> latest
- vrf_select (Alias name: vrf-select) Vrf id used for connection to server. type: int
more...
Supported Version Ranges: v7.6.2 -> latest
Notes
-----
.. note::
- Running in workspace locking mode is supported in this FortiManager module, the top level parameters workspace_locking_adom and workspace_locking_timeout help do the work.
- To create or update an object, use state: present directive.
- To delete an object, use state: absent directive
- Normally, running one module can fail when a non-zero rc is returned. you can also override the conditions to fail or succeed with parameters rc_failed and rc_succeeded
Examples
--------
.. code-block:: yaml+jinja
- name: Example playbook
hosts: fortimanagers
gather_facts: false
connection: httpapi
vars:
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
ansible_httpapi_port: 443
tasks:
- name: Configure dynamic mappings of RADIUS server
fortinet.fortimanager.fmgr_user_radius_dynamicmapping:
bypass_validation: false
adom: ansible
radius: ansible-test-radius # name
state: present
user_radius_dynamicmapping:
_scope:
- name: FGT_AWS # need a valid device name
vdom: root # need a valid vdom name under the device
server: ansible
timeout: 100
- name: Gathering fortimanager facts
hosts: fortimanagers
gather_facts: false
connection: httpapi
vars:
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
ansible_httpapi_port: 443
tasks:
- name: Retrieve all the dynamic mappings of RADIUS server
fortinet.fortimanager.fmgr_fact:
facts:
selector: "user_radius_dynamicmapping"
params:
adom: "ansible"
radius: "ansible-test-radius" # name
dynamic_mapping: "your_value"
Return Values
-------------
Common return values are documented: https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values, the following are the fields unique to this module:
.. raw:: html
- meta - The result of the request.returned: always type: dict
- request_url - The full url requested. returned: always type: str sample: /sys/login/user
- response_code - The status of api request. returned: always type: int sample: 0
- response_data - The data body of the api response. returned: optional type: list or dict
- response_message - The descriptive message of the api response. returned: always type: str sample: OK
- system_information - The information of the target system. returned: always type: dict
- rc - The status the request. returned: always type: int sample: 0
- version_check_warning - Warning if the parameters used in the playbook are not supported by the current FortiManager version. returned: if at least one parameter not supported by the current FortiManager version type: list
Status
------
- This module is not guaranteed to have a backwards compatible interface.
Authors
-------
- Xinwei Du (@dux-fortinet)
- Xing Li (@lix-fortinet)
- Jie Xue (@JieX19)
- Link Zheng (@chillancezen)
- Frank Shen (@fshen01)
- Hongbin Lu (@fgtdev-hblu)