:source: fortios_system_admin.py
:orphan:
.. fortios_system_admin:
fortios_system_admin -- Configure admin users in Fortinet's FortiOS and FortiGate.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.. versionadded:: 2.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the user to set and modify system feature and admin category. Examples include all parameters and values need to be adjusted to datasources before usage. Tested with FOS v6.0.0
Requirements
------------
The below requirements are needed on the host that executes this module.
- ansible>=2.16
Tips
----
Using member operation to add an element to an existing object.
FortiOS Version Compatibility
-----------------------------
Supported Version Ranges: v6.0.0 -> v7.6.6
Parameters
----------
.. raw:: html
- access_token - Token-based authentication. Generated from GUI of Fortigate. type: str required: false
- enable_log - Enable/Disable logging for task. type: bool required: false default: False
- vdom - Virtual domain, among those defined previously. A vdom is a virtual instance of the FortiGate that can be configured and used as a different unit. type: str default: root
- member_path - Member attribute path to operate on. type: str
- member_state - Add or delete a member under specified attribute path. type: str choices: present, absent
- state - Indicates whether to create or remove the object. type: str required: true choices: present, absent
- system_admin - Configure admin users. type: dict
more...
| Supported Version Ranges |
| system_admin |
v6.0.0 -> 7.6.6 |
- accprofile - Access profile for this administrator. Access profiles control administrator access to FortiGate features. Source system.accprofile.name. type: str
more...
|
Supported Version Ranges |
| accprofile |
v6.0.0 -> 7.6.6 |
- accprofile_override - Enable to use the name of an access profile provided by the remote authentication server to control the FortiGate features that this administrator can access. type: str choices: enable, disable
more...
|
Supported Version Ranges |
| accprofile_override |
v6.0.0 -> 7.6.6 |
| [enable] |
v6.0.0 -> 7.6.6 |
| [disable] |
v6.0.0 -> 7.6.6 |
- allow_remove_admin_session - Enable/disable allow admin session to be removed by privileged admin users. type: str choices: enable, disable
more...
|
Supported Version Ranges |
| allow_remove_admin_session |
v6.0.0 -> 7.6.6 |
| [enable] |
v6.0.0 -> 7.6.6 |
| [disable] |
v6.0.0 -> 7.6.6 |
- comments - Comment. type: str
more...
|
Supported Version Ranges |
| comments |
v6.0.0 -> 7.6.6 |
- email_to - This administrator"s email address. type: str
more...
|
Supported Version Ranges |
| email_to |
v6.0.0 -> 7.6.6 |
- force_password_change - Enable/disable force password change on next login. type: str choices: enable, disable
more...
|
Supported Version Ranges |
| force_password_change |
v6.0.0 -> 7.6.6 |
| [enable] |
v6.0.0 -> 7.6.6 |
| [disable] |
v6.0.0 -> 7.6.6 |
- fortitoken - This administrator"s FortiToken serial number. type: str
more...
|
Supported Version Ranges |
| fortitoken |
v6.0.0 -> 7.6.6 |
- guest_auth - Enable/disable guest authentication. type: str choices: disable, enable
more...
|
Supported Version Ranges |
| guest_auth |
v6.0.0 -> 7.6.6 |
| [disable] |
v6.0.0 -> 7.6.6 |
| [enable] |
v6.0.0 -> 7.6.6 |
- guest_lang - Guest management portal language. Source system.custom-language.name. type: str
more...
|
Supported Version Ranges |
| guest_lang |
v6.0.0 -> 7.6.6 |
- guest_usergroups - Select guest user groups. type: list member_path: guest_usergroups:name
more...
| Supported Version Ranges |
| guest_usergroups |
v6.0.0 -> 7.6.6 |
- name - Select guest user groups. type: str required: true
more...
|
Supported Version Ranges |
| name |
v6.0.0 -> 7.6.6 |
- gui_dashboard - GUI dashboards. type: list member_path: gui_dashboard:id
more...
| Supported Version Ranges |
| gui_dashboard |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- columns - Number of columns. type: int
more...
|
Supported Version Ranges |
| columns |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- id - Dashboard ID. see Notes. type: int required: true
more...
|
Supported Version Ranges |
| id |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- layout_type - Layout type. type: str choices: responsive, fixed
more...
|
Supported Version Ranges |
| layout_type |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
| [responsive] |
v6.0.0 -> v6.0.11 |
| [fixed] |
v6.0.0 -> v6.0.11 |
- name - Dashboard name. type: str
more...
|
Supported Version Ranges |
| name |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- permanent - Permanent dashboard (can"t be removed via the GUI). type: str choices: disable, enable
more...
|
Supported Version Ranges |
| permanent |
v6.2.3 -> v6.2.3 |
| [disable] |
v6.2.3 -> v6.2.3 |
| [enable] |
v6.2.3 -> v6.2.3 |
- scope - Dashboard scope. type: str choices: global, vdom
more...
|
Supported Version Ranges |
| scope |
v6.0.0 -> v6.0.11 |
| [global] |
v6.0.0 -> v6.0.11 |
| [vdom] |
v6.0.0 -> v6.0.11 |
- vdom - Virtual domain. Source system.vdom.name. type: str
more...
|
Supported Version Ranges |
| vdom |
v6.2.3 -> v6.2.3 |
- widget - Dashboard widgets. type: list member_path: gui_dashboard:id/widget:id
more...
| Supported Version Ranges |
| widget |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- fabric_device - Fabric device to monitor. type: str
more...
|
Supported Version Ranges |
| fabric_device |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- fabric_device_widget_name - Fabric device widget name. type: str
more...
|
Supported Version Ranges |
| fabric_device_widget_name |
v6.2.3 -> v6.2.3 |
- fabric_device_widget_visualization_type - Visualization type for fabric device widget. type: str
more...
|
Supported Version Ranges |
| fabric_device_widget_visualization_type |
v6.2.3 -> v6.2.3 |
- fortiview_device - FortiView device. type: str
more...
|
Supported Version Ranges |
| fortiview_device |
v6.2.3 -> v6.2.3 |
- fortiview_filters - FortiView filters. type: list member_path: gui_dashboard:id/widget:id/fortiview_filters:id
more...
| Supported Version Ranges |
| fortiview_filters |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- id - FortiView Filter ID. see Notes. type: int required: true
more...
|
Supported Version Ranges |
| id |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- key - Filter key. type: str
more...
|
Supported Version Ranges |
| key |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- value - Filter value. type: str
more...
|
Supported Version Ranges |
| value |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- fortiview_sort_by - FortiView sort by. type: str
more...
|
Supported Version Ranges |
| fortiview_sort_by |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- fortiview_timeframe - FortiView timeframe. type: str
more...
|
Supported Version Ranges |
| fortiview_timeframe |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- fortiview_type - FortiView type. type: str
more...
|
Supported Version Ranges |
| fortiview_type |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- fortiview_visualization - FortiView visualization. type: str
more...
|
Supported Version Ranges |
| fortiview_visualization |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- height - Height. type: int
more...
|
Supported Version Ranges |
| height |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- id - Widget ID. see Notes. type: int required: true
more...
|
Supported Version Ranges |
| id |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- industry - Security Audit Rating industry. type: str choices: default, custom
more...
|
Supported Version Ranges |
| industry |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
| [default] |
v6.0.0 -> v6.0.11 |
| [custom] |
v6.0.0 -> v6.0.11 |
- interface - Interface to monitor. Source system.interface.name. type: str
more...
|
Supported Version Ranges |
| interface |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- region - Security Audit Rating region. type: str choices: default, custom
more...
|
Supported Version Ranges |
| region |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
| [default] |
v6.0.0 -> v6.0.11 |
| [custom] |
v6.0.0 -> v6.0.11 |
- title - Widget title. type: str
more...
|
Supported Version Ranges |
| title |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- type - Widget type. type: str choices: sysinfo, licinfo, forticloud, cpu-usage, memory-usage, disk-usage, log-rate, sessions, session-rate, tr-history, analytics, usb-modem, admins, security-fabric, security-fabric-ranking, sensor-info, ha-status, vulnerability-summary, host-scan-summary, fortiview, botnet-activity, fabric-device, fortimail
more...
|
Supported Version Ranges |
| type |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
| [sysinfo] |
v6.0.0 -> v6.0.11 |
| [licinfo] |
v6.0.0 -> v6.0.11 |
| [forticloud] |
v6.0.0 -> v6.0.11 |
| [cpu-usage] |
v6.0.0 -> v6.0.11 |
| [memory-usage] |
v6.0.0 -> v6.0.11 |
| [disk-usage] |
v6.0.0 -> v6.0.11 |
| [log-rate] |
v6.0.0 -> v6.0.11 |
| [sessions] |
v6.0.0 -> v6.0.11 |
| [session-rate] |
v6.0.0 -> v6.0.11 |
| [tr-history] |
v6.0.0 -> v6.0.11 |
| [analytics] |
v6.0.0 -> v6.0.11 |
| [usb-modem] |
v6.0.0 -> v6.0.11 |
| [admins] |
v6.0.0 -> v6.0.11 |
| [security-fabric] |
v6.0.0 -> v6.0.11 |
| [security-fabric-ranking] |
v6.0.0 -> v6.0.11 |
| [sensor-info] |
v6.0.0 -> v6.0.11 |
| [ha-status] |
v6.0.0 -> v6.0.11 |
| [vulnerability-summary] |
v6.0.0 -> v6.0.11 |
| [host-scan-summary] |
v6.0.0 -> v6.0.11 |
| [fortiview] |
v6.0.0 -> v6.0.11 |
| [botnet-activity] |
v6.0.0 -> v6.0.11 |
| [fabric-device] |
v6.2.3 -> v6.2.3 |
| [fortimail] |
v6.0.0 -> v6.0.11 |
- width - Width. type: int
more...
|
Supported Version Ranges |
| width |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- x_pos - X position. type: int
more...
|
Supported Version Ranges |
| x_pos |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- y_pos - Y position. type: int
more...
|
Supported Version Ranges |
| y_pos |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- gui_global_menu_favorites - Favorite GUI menu IDs for the global VDOM. type: list member_path: gui_global_menu_favorites:id
more...
| Supported Version Ranges |
| gui_global_menu_favorites |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- id - Select menu ID. type: str required: true
more...
|
Supported Version Ranges |
| id |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- gui_new_feature_acknowledge - Acknowledgement of new features. type: list member_path: gui_new_feature_acknowledge:id
more...
| Supported Version Ranges |
| gui_new_feature_acknowledge |
v6.2.3 -> v6.2.3 |
- id - Select menu ID. type: str required: true
more...
|
Supported Version Ranges |
| id |
v6.2.3 -> v6.2.3 |
- gui_vdom_menu_favorites - Favorite GUI menu IDs for VDOMs. type: list member_path: gui_vdom_menu_favorites:id
more...
| Supported Version Ranges |
| gui_vdom_menu_favorites |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- id - Select menu ID. type: str required: true
more...
|
Supported Version Ranges |
| id |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- hidden - Admin user hidden attribute. type: int
more...
|
Supported Version Ranges |
| hidden |
v6.0.0 -> v6.0.11 |
- history0 - history0 type: str
more...
|
Supported Version Ranges |
| history0 |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- history1 - history1 type: str
more...
|
Supported Version Ranges |
| history1 |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- ip6_trusthost1 - Any IPv6 address from which the administrator can connect to the FortiGate unit. Default allows access from any IPv6 address. type: str
more...
|
Supported Version Ranges |
| ip6_trusthost1 |
v6.0.0 -> 7.6.6 |
- ip6_trusthost10 - Any IPv6 address from which the administrator can connect to the FortiGate unit. Default allows access from any IPv6 address. type: str
more...
|
Supported Version Ranges |
| ip6_trusthost10 |
v6.0.0 -> 7.6.6 |
- ip6_trusthost2 - Any IPv6 address from which the administrator can connect to the FortiGate unit. Default allows access from any IPv6 address. type: str
more...
|
Supported Version Ranges |
| ip6_trusthost2 |
v6.0.0 -> 7.6.6 |
- ip6_trusthost3 - Any IPv6 address from which the administrator can connect to the FortiGate unit. Default allows access from any IPv6 address. type: str
more...
|
Supported Version Ranges |
| ip6_trusthost3 |
v6.0.0 -> 7.6.6 |
- ip6_trusthost4 - Any IPv6 address from which the administrator can connect to the FortiGate unit. Default allows access from any IPv6 address. type: str
more...
|
Supported Version Ranges |
| ip6_trusthost4 |
v6.0.0 -> 7.6.6 |
- ip6_trusthost5 - Any IPv6 address from which the administrator can connect to the FortiGate unit. Default allows access from any IPv6 address. type: str
more...
|
Supported Version Ranges |
| ip6_trusthost5 |
v6.0.0 -> 7.6.6 |
- ip6_trusthost6 - Any IPv6 address from which the administrator can connect to the FortiGate unit. Default allows access from any IPv6 address. type: str
more...
|
Supported Version Ranges |
| ip6_trusthost6 |
v6.0.0 -> 7.6.6 |
- ip6_trusthost7 - Any IPv6 address from which the administrator can connect to the FortiGate unit. Default allows access from any IPv6 address. type: str
more...
|
Supported Version Ranges |
| ip6_trusthost7 |
v6.0.0 -> 7.6.6 |
- ip6_trusthost8 - Any IPv6 address from which the administrator can connect to the FortiGate unit. Default allows access from any IPv6 address. type: str
more...
|
Supported Version Ranges |
| ip6_trusthost8 |
v6.0.0 -> 7.6.6 |
- ip6_trusthost9 - Any IPv6 address from which the administrator can connect to the FortiGate unit. Default allows access from any IPv6 address. type: str
more...
|
Supported Version Ranges |
| ip6_trusthost9 |
v6.0.0 -> 7.6.6 |
- login_time - Record user login time. type: list member_path: login_time:usr_name
more...
| Supported Version Ranges |
| login_time |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- last_failed_login - Last failed login time. type: str
more...
|
Supported Version Ranges |
| last_failed_login |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- last_login - Last successful login time. type: str
more...
|
Supported Version Ranges |
| last_login |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- usr_name - User name. type: str required: true
more...
|
Supported Version Ranges |
| usr_name |
v6.0.0 -> v6.0.11 |
v6.2.3 -> v6.2.3 |
- name - User name. type: str required: true
more...
|
Supported Version Ranges |
| name |
v6.0.0 -> 7.6.6 |
- password - Admin user password. type: str
more...
|
Supported Version Ranges |
| password |
v6.0.0 -> 7.6.6 |
- password_expire - Password expire time. type: str
more...
|
Supported Version Ranges |
| password_expire |
v6.0.0 -> 7.6.6 |
- peer_auth - Set to enable peer certificate authentication (for HTTPS admin access). type: str choices: enable, disable
more...
|
Supported Version Ranges |
| peer_auth |
v6.0.0 -> 7.6.6 |
| [enable] |
v6.0.0 -> 7.6.6 |
| [disable] |
v6.0.0 -> 7.6.6 |
- peer_group - Name of peer group defined under config user group which has PKI members. Used for peer certificate authentication (for HTTPS admin access). type: str
more...
|
Supported Version Ranges |
| peer_group |
v6.0.0 -> 7.6.6 |
- radius_vdom_override - Enable to use the names of VDOMs provided by the remote authentication server to control the VDOMs that this administrator can access. type: str choices: enable, disable
more...
|
Supported Version Ranges |
| radius_vdom_override |
v6.0.0 -> v7.2.0 |
| [enable] |
v6.0.0 -> v7.2.0 |
| [disable] |
v6.0.0 -> v7.2.0 |
- remote_auth - Enable/disable authentication using a remote RADIUS, LDAP, or TACACS+ server. type: str choices: enable, disable
more...
|
Supported Version Ranges |
| remote_auth |
v6.0.0 -> 7.6.6 |
| [enable] |
v6.0.0 -> 7.6.6 |
| [disable] |
v6.0.0 -> 7.6.6 |
- remote_group - User group name used for remote auth. type: str
more...
|
Supported Version Ranges |
| remote_group |
v6.0.0 -> 7.6.6 |
- schedule - Firewall schedule used to restrict when the administrator can log in. No schedule means no restrictions. type: str
more...
|
Supported Version Ranges |
| schedule |
v6.0.0 -> 7.6.6 |
- sms_custom_server - Custom SMS server to send SMS messages to. Source system.sms-server.name. type: str
more...
|
Supported Version Ranges |
| sms_custom_server |
v6.0.0 -> 7.6.6 |
- sms_phone - Phone number on which the administrator receives SMS messages. type: str
more...
|
Supported Version Ranges |
| sms_phone |
v6.0.0 -> 7.6.6 |
- sms_server - Send SMS messages using the FortiGuard SMS server or a custom server. type: str choices: fortiguard, custom
more...
|
Supported Version Ranges |
| sms_server |
v6.0.0 -> 7.6.6 |
| [fortiguard] |
v6.0.0 -> 7.6.6 |
| [custom] |
v6.0.0 -> 7.6.6 |
- ssh_certificate - Select the certificate to be used by the FortiGate for authentication with an SSH client. Source certificate.remote.name. type: str
more...
|
Supported Version Ranges |
| ssh_certificate |
v6.0.0 -> 7.6.6 |
- ssh_public_key1 - Public key of an SSH client. The client is authenticated without being asked for credentials. Create the public-private key pair in the SSH client application. type: str
more...
|
Supported Version Ranges |
| ssh_public_key1 |
v6.0.0 -> 7.6.6 |
- ssh_public_key2 - Public key of an SSH client. The client is authenticated without being asked for credentials. Create the public-private key pair in the SSH client application. type: str
more...
|
Supported Version Ranges |
| ssh_public_key2 |
v6.0.0 -> 7.6.6 |
- ssh_public_key3 - Public key of an SSH client. The client is authenticated without being asked for credentials. Create the public-private key pair in the SSH client application. type: str
more...
|
Supported Version Ranges |
| ssh_public_key3 |
v6.0.0 -> 7.6.6 |
- trusthost1 - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. Default allows access from any IPv4 address. type: str
more...
|
Supported Version Ranges |
| trusthost1 |
v6.0.0 -> 7.6.6 |
- trusthost10 - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. Default allows access from any IPv4 address. type: str
more...
|
Supported Version Ranges |
| trusthost10 |
v6.0.0 -> 7.6.6 |
- trusthost2 - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. Default allows access from any IPv4 address. type: str
more...
|
Supported Version Ranges |
| trusthost2 |
v6.0.0 -> 7.6.6 |
- trusthost3 - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. Default allows access from any IPv4 address. type: str
more...
|
Supported Version Ranges |
| trusthost3 |
v6.0.0 -> 7.6.6 |
- trusthost4 - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. Default allows access from any IPv4 address. type: str
more...
|
Supported Version Ranges |
| trusthost4 |
v6.0.0 -> 7.6.6 |
- trusthost5 - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. Default allows access from any IPv4 address. type: str
more...
|
Supported Version Ranges |
| trusthost5 |
v6.0.0 -> 7.6.6 |
- trusthost6 - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. Default allows access from any IPv4 address. type: str
more...
|
Supported Version Ranges |
| trusthost6 |
v6.0.0 -> 7.6.6 |
- trusthost7 - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. Default allows access from any IPv4 address. type: str
more...
|
Supported Version Ranges |
| trusthost7 |
v6.0.0 -> 7.6.6 |
- trusthost8 - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. Default allows access from any IPv4 address. type: str
more...
|
Supported Version Ranges |
| trusthost8 |
v6.0.0 -> 7.6.6 |
- trusthost9 - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. Default allows access from any IPv4 address. type: str
more...
|
Supported Version Ranges |
| trusthost9 |
v6.0.0 -> 7.6.6 |
- two_factor - Enable/disable two-factor authentication. type: str choices: disable, fortitoken, fortitoken-cloud, email, sms
more...
|
Supported Version Ranges |
| two_factor |
v6.0.0 -> 7.6.6 |
| [disable] |
v6.0.0 -> 7.6.6 |
| [fortitoken] |
v6.0.0 -> 7.6.6 |
| [fortitoken-cloud] |
v6.2.0 -> 7.6.6 |
| [email] |
v6.0.0 -> 7.6.6 |
| [sms] |
v6.0.0 -> 7.6.6 |
- two_factor_authentication - Authentication method by FortiToken Cloud. type: str choices: fortitoken, email, sms
more...
|
Supported Version Ranges |
| two_factor_authentication |
v6.2.0 -> v6.2.0 |
v6.2.5 -> 7.6.6 |
| [fortitoken] |
v6.2.0 -> v6.2.0 |
| [email] |
v6.2.0 -> v6.2.0 |
| [sms] |
v6.2.0 -> v6.2.0 |
- two_factor_notification - Notification method for user activation by FortiToken Cloud. type: str choices: email, sms
more...
|
Supported Version Ranges |
| two_factor_notification |
v6.2.0 -> v6.2.0 |
v6.2.5 -> 7.6.6 |
| [email] |
v6.2.0 -> v6.2.0 |
| [sms] |
v6.2.0 -> v6.2.0 |
- vdom - Virtual domain(s) that the administrator can access. type: list member_path: vdom:name
more...
| Supported Version Ranges |
| vdom |
v6.0.0 -> 7.6.6 |
- name - Virtual domain name. Source system.vdom.name. type: str required: true
more...
|
Supported Version Ranges |
| name |
v6.0.0 -> 7.6.6 |
- vdom_override - Enable to use the names of VDOMs provided by the remote authentication server to control the VDOMs that this administrator can access. type: str choices: enable, disable
more...
|
Supported Version Ranges |
| vdom_override |
v7.2.1 -> 7.6.6 |
| [enable] |
v7.2.1 -> 7.6.6 |
| [disable] |
v7.2.1 -> 7.6.6 |
- wildcard - Enable/disable wildcard RADIUS authentication. type: str choices: enable, disable
more...
|
Supported Version Ranges |
| wildcard |
v6.0.0 -> 7.6.6 |
| [enable] |
v6.0.0 -> 7.6.6 |
| [disable] |
v6.0.0 -> 7.6.6 |
Notes
-----
.. note::
- Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks
- The module supports check_mode.
Examples
--------
.. code-block:: yaml+jinja
- name: Configure admin users.
fortinet.fortios.fortios_system_admin:
vdom: "{{ vdom }}"
state: "present"
access_token: ""
system_admin:
accprofile: " (source system.accprofile.name)"
accprofile_override: "enable"
allow_remove_admin_session: "enable"
comments: ""
email_to: ""
force_password_change: "enable"
fortitoken: ""
guest_auth: "disable"
guest_lang: " (source system.custom-language.name)"
guest_usergroups:
-
name: "default_name_13"
gui_dashboard:
-
columns: "10"
id: "16"
layout_type: "responsive"
name: "default_name_18"
permanent: "disable"
scope: "global"
vdom: " (source system.vdom.name)"
widget:
-
fabric_device: ""
fabric_device_widget_name: ""
fabric_device_widget_visualization_type: ""
fortiview_device: ""
fortiview_filters:
-
id: "28"
key: ""
value: ""
fortiview_sort_by: ""
fortiview_timeframe: ""
fortiview_type: ""
fortiview_visualization: ""
height: "25"
id: "36"
industry: "default"
interface: " (source system.interface.name)"
region: "default"
title: ""
type: "sysinfo"
width: "25"
x_pos: "500"
y_pos: "500"
gui_global_menu_favorites:
-
id: "46"
gui_new_feature_acknowledge:
-
id: "48"
gui_vdom_menu_favorites:
-
id: "50"
hidden: "127"
history0: ""
history1: ""
ip6_trusthost1: "myhostname"
ip6_trusthost10: "myhostname"
ip6_trusthost2: "myhostname"
ip6_trusthost3: "myhostname"
ip6_trusthost4: "myhostname"
ip6_trusthost5: "myhostname"
ip6_trusthost6: "myhostname"
ip6_trusthost7: "myhostname"
ip6_trusthost8: "myhostname"
ip6_trusthost9: "myhostname"
login_time:
-
last_failed_login: ""
last_login: ""
usr_name: ""
name: "default_name_68"
password: ""
password_expire: ""
peer_auth: "enable"
peer_group: ""
radius_vdom_override: "enable"
remote_auth: "enable"
remote_group: ""
schedule: ""
sms_custom_server: " (source system.sms-server.name)"
sms_phone: ""
sms_server: "fortiguard"
ssh_certificate: " (source certificate.remote.name)"
ssh_public_key1: ""
ssh_public_key2: ""
ssh_public_key3: ""
trusthost1: "myhostname"
trusthost10: "myhostname"
trusthost2: "myhostname"
trusthost3: "myhostname"
trusthost4: "myhostname"
trusthost5: "myhostname"
trusthost6: "myhostname"
trusthost7: "myhostname"
trusthost8: "myhostname"
trusthost9: "myhostname"
two_factor: "disable"
two_factor_authentication: "fortitoken"
two_factor_notification: "email"
vdom:
-
name: "default_name_98 (source system.vdom.name)"
vdom_override: "enable"
wildcard: "enable"
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
- build - Build number of the fortigate image returned: always type: str sample: 1547
- http_method - Last method used to provision the content into FortiGate returned: always type: str sample: PUT
- http_status - Last result given by FortiGate on last operation applied returned: always type: str sample: 200
- mkey - Master key (id) used in the last call to FortiGate returned: success type: str sample: id
- name - Name of the table used to fulfill the request returned: always type: str sample: urlfilter
- path - Path of the table used to fulfill the request returned: always type: str sample: webfilter
- revision - Internal revision number returned: always type: str sample: 17.0.2.10658
- serial - Serial number of the unit returned: always type: str sample: FGVMEVYYQT3AB5352
- status - Indication of the operation's result returned: always type: str sample: success
- vdom - Virtual domain used returned: always type: str sample: root
- version - Version of the FortiGate returned: always type: str sample: v5.6.3
Status
------
- This module is not guaranteed to have a backwards compatible interface.
Authors
-------
- Link Zheng (@chillancezen)
- Jie Xue (@JieX19)
- Hongbin Lu (@fgtdev-hblu)
- Frank Shen (@frankshen01)
- Miguel Angel Munoz (@mamunozgonzalez)
- Nicolas Thomas (@thomnico)
.. hint::
If you notice any issues in this documentation, you can create a pull request to improve it.