fortinet.fortimanager.fmgr_system_global module – Global range attributes.
Note
This module is part of the fortinet.fortimanager collection (version 2.2.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 fortinet.fortimanager
.
To use it in a playbook, specify: fortinet.fortimanager.fmgr_system_global
.
New in fortinet.fortimanager 1.0.0
Synopsis
This module is able to configure a FortiManager device.
Examples include all parameters and values which need to be adjusted to data sources before usage.
Parameters
Parameter |
Comments |
---|---|
The token to access FortiManager without using username and password. |
|
Only set to True when module schema diffs with FortiManager API structure, module continues to execute without validating parameters. Choices:
|
|
Enable/Disable logging for task. Choices:
|
|
Authenticate Ansible client with forticloud API access token. |
|
The overridden method for the underlying Json RPC request. Choices:
|
|
The rc codes list with which the conditions to fail will be overriden. |
|
The rc codes list with which the conditions to succeed will be overriden. |
|
the top level parameters set |
|
Lockout duration |
|
Lockout method for administration. ip - Lockout by IP user - Lockout by user Choices:
|
|
Lockout threshold for administration. |
|
ADOM mode. normal - Normal ADOM mode. advanced - Advanced ADOM mode. Choices:
|
|
Auto delete features for old ADOM revisions. disable - Disable auto delete function for ADOM revision. by-revisions - Auto delete ADOM revisions by maximum number of revisions. by-days - Auto delete ADOM revisions by maximum days. Choices:
|
|
Maximum number of ADOM revisions to backup. |
|
Number of days to keep old ADOM revisions. |
|
Maximum number of ADOM revisions to keep. |
|
Enable/disable select ADOM after login. disable - Disable select ADOM after login. enable - Enable select ADOM after login. Choices:
|
|
ADOM status. disable - Disable ADOM mode. enable - Enable ADOM mode. Choices:
|
|
set the clone object names option. default - Add a prefix of Clone of to the clone name. keep - Keep the original name for user to edit. Choices:
|
|
Require client certificate for GUI login. disable - Disable setting. enable - Require client certificate for GUI login. optional - Optional client certificate for GUI login. Choices:
|
|
Console output mode. standard - Standard output. more - More page output. Choices:
|
|
Enable/disable outbreak alert auto install for FGT ADOMS . disable - Disable the sql report auto outbreak auto install. enable - Enable the sql report auto outbreak auto install. Choices:
|
|
Country flag Status. disable - Disable country flag icon beside ip address. enable - Enable country flag icon beside ip address. Choices:
|
|
Enable/disable create revision by default. disable - Disable create revision by default. enable - Enable create revision by default. Choices:
|
|
Enable/disable daylight saving time. disable - Disable setting. enable - Enable setting. Choices:
|
|
Default disk quota for registered device |
|
Detect unregistered logging device from log message. disable - Disable attribute function. enable - Enable attribute function. Choices:
|
|
Set devices/groups view mode. regular - Regular view mode. tree - Tree view mode. Choices:
|
|
Minimum size of Diffie-Hellman prime for SSH/HTTPS 1024 - 1024 bits. 1536 - 1536 bits. 2048 - 2048 bits. 3072 - 3072 bits. 4096 - 4096 bits. 6144 - 6144 bits. 8192 - 8192 bits. Choices:
|
|
Disable module list. Choices:
|
|
SSL communication encryption algorithms. low - SSL communication using all available encryption algorithms. medium - SSL communication using high and medium encryption algorithms. high - SSL communication using high encryption algorithms. Choices:
|
|
FAZ status. disable - Disable FAZ feature. enable - Enable FAZ feature. Choices:
|
|
set the extra fgfm CA certificates. |
|
set if the local or CA certificates should be used exclusively. disable - Used certificate best-effort. enable - Used certificate exclusive. Choices:
|
|
set the fgfm local certificate. |
|
set the lowest SSL protocols for fgfmsd. sslv3 - set SSLv3 as the lowest version. tlsv1. tlsv1. tlsv1. Choices:
|
|
GUI curl timeout in seconds |
|
GUI polling interval in seconds |
|
Enable/disable automatically group HA members feature disable - Disable automatically grouping HA members feature. enable - Enable automatically grouping HA members only when group name is unique in your network. Choices:
|
|
The number of FortiGates that FortiManager polls at one time |
|
The interval for getting hit count from managed FortiGate devices, in seconds |
|
System hostname. |
|
Enable/Disable import ignore of address comments. disable - Disable import ignore of address comments. enable - Enable import ignore of address comments. Choices:
|
|
System global language. english - English simch - Simplified Chinese japanese - Japanese korean - Korean spanish - Spanish trach - Traditional Chinese Choices:
|
|
fmg location latitude |
|
LDAP browser cache timeout |
|
LDAP connection timeout |
|
Enable/disable ADOM lock override. disable - Disable lock preempt. enable - Enable lock preempt. Choices:
|
|
Record log file hash value, timestamp, and authentication code at transmission or rolling. none - No record log file checksum. md5 - Record log files MD5 hash value only. md5-auth - Record log files MD5 hash value and authentication code. Choices:
|
|
Enable/disable upload log checksum with log files. disable - Disable attribute function. enable - Enable attribute function. Choices:
|
|
Log forwarding disk cache size |
|
fmg location longitude |
|
Maximum number of log-forward and aggregation settings. |
|
Maximum number of reports generating at one time. |
|
Mc-Policy-Disabled-Adoms. |
|
Adom names. |
|
Enable/disable multiple steps upgade in autolink process disable - Disable setting. enable - Enable setting. Choices:
|
|
Do not perform permission check to block object changes in different adom during copy and install. disable - Disable setting. enable - Enable setting. Choices:
|
|
allow normalized interface to be zone only. disable - Disable SSL low-grade encryption. enable - Enable SSL low-grade encryption. Choices:
|
|
Maximum revisions for a single database |
|
Enable/disable mandatory note when create revision. disable - Disable object revision. enable - Enable object revision. Choices:
|
|
Maximum revisions for a single object |
|
Enable/disable create revision when modify objects. disable - Disable object revision. enable - Enable object revision. Choices:
|
|
set the lowest SSL protocols for oftpd. sslv3 - set SSLv3 as the lowest version. tlsv1. tlsv1. tlsv1. Choices:
|
|
Enable/Disable partial install disable - Disable partial install function. enable - Enable partial install function. Choices:
|
|
Enable/Disable partial install when devdb is modified. disable - Disable partial install when devdb is modified. enable - Enable partial install when devdb is modified. Choices:
|
|
Enable/Disable auto creating adom revision for partial install. disable - Disable partial install revision. enable - Enable partial install revision. Choices:
|
|
Enable/Disable per policy lock. disable - Disable per policy lock. enable - Enable per policy lock. Choices:
|
|
Enable/Disable performance improvement by distributing tasks to HA slaves. disable - Disable performance improvement by HA. enable - Enable performance improvement by HA. Choices:
|
|
show policy hit count. disable - Disable policy hit count. enable - Enable policy hit count. Choices:
|
|
show icons of policy objects. disable - Disable icon of policy objects. enable - Enable icon of policy objects. Choices:
|
|
show policies and objects in dual pane. disable - Disable polices and objects in dual pane. enable - Enable polices and objects in dual pane. Choices:
|
|
Enable/disable pre-login banner. disable - Disable pre-login banner. enable - Enable pre-login banner. Choices:
|
|
Pre-login banner message. |
|
Enable/disable private data encryption using an AES 128-bit key. disable - Disable private data encryption using an AES 128-bit key. enable - Enable private data encryption using an AES 128-bit key. Choices:
|
|
Remote authentication |
|
Enable/Disable Search all ADOMs for where-used query. disable - Disable search all ADOMs for where-used queries. enable - Enable search all ADOMs for where-used queries. Choices:
|
|
description |
|
Cipher name |
|
SSL/TLS cipher suites priority. |
|
SSL/TLS version the cipher suite can be used with. tls1. tls1. Choices:
|
|
SSL low-grade encryption. disable - Disable SSL low-grade encryption. enable - Enable SSL low-grade encryption. Choices:
|
|
SSL protocols. Choices:
|
|
Enable/disable SSL static key ciphers. disable - Disable setting. enable - Enable setting. Choices:
|
|
Enable/disable table entry blink in GUI disable - Disable setting. enable - Enable setting. Choices:
|
|
Maximum number of completed tasks to keep. |
|
Enable/disable TFTP in `exec restore image` command disable - Disable TFTP enable - Enable TFTP Choices:
|
|
Time zone. 00 - 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 - 22 - 23 - 24 - 25 - 26 - 27 - 28 - 29 - 30 - 31 - 32 - 33 - 34 - 35 - 36 - 37 - 38 - 39 - 40 - 41 - 42 - 43 - 44 - 45 - 46 - 47 - 48 - 49 - 50 - 51 - 52 - 53 - 54 - 55 - 56 - 57 - 58 - 59 - 60 - 61 - 62 - 63 - 64 - 65 - 66 - 67 - 68 - 69 - 70 - 71 - 72 - 73 - 74 - 75 - 76 - 77 - 78 - 79 - 80 - 81 - 82 - 83 - 84 - 85 - 86 - 87 - 88 - 89 - Choices:
|
|
Maximum transportation unit |
|
Enable/disable Fortiguard server restriction. disable - Contact any Fortiguard server enable - Contact Fortiguard server in USA only Choices:
|
|
VDOM mirror. disable - Disable VDOM mirror function. enable - Enable VDOM mirror function. Choices:
|
|
Web Service connection support SSL protocols. Choices:
|
|
Maximum number of workflow sessions per ADOM |
|
Set workspace mode disabled - Workspace disabled. normal - Workspace lock mode. workflow - Workspace workflow mode. Choices:
|
|
Enable/disable ADOM auto-unlock after device installation. disable - Disable automatically unlock adom after device installation. enable - Enable automatically unlock adom after device installation. Choices:
|
|
The adom to lock for FortiManager running in workspace mode, the value can be global and others including root. |
|
The maximum time in seconds to wait for other user to release the workspace lock. Default: |
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
- hosts: fortimanager00
collections:
- fortinet.fortimanager
connection: httpapi
vars:
ansible_httpapi_use_ssl: True
ansible_httpapi_validate_certs: False
ansible_httpapi_port: 443
tasks:
- name: enable workspace mode
fmgr_system_global:
system_global:
adom-status: enable
workspace-mode: normal
- name: Script table.
fmgr_dvmdb_script:
bypass_validation: False
adom: root
state: present
workspace_locking_adom: 'root'
dvmdb_script:
content: 'ansiblt-test'
name: 'fooscript000'
target: device_database
type: cli
- name: verify script table
fmgr_fact:
facts:
selector: 'dvmdb_script'
params:
adom: 'root'
script: 'fooscript000'
register: info
failed_when: info.meta.response_code != 0
- name: restore workspace mode
fmgr_system_global:
system_global:
adom-status: enable
workspace-mode: disabled
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The result of the request. Returned: always |
|
The full url requested. Returned: always Sample: |
|
The status of api request. Returned: always Sample: |
|
The api response. Returned: always |
|
The descriptive message of the api response. Returned: always Sample: |
|
The information of the target system. Returned: always |
|
The status the request. Returned: always Sample: |
|
Warning if the parameters used in the playbook are not supported by the current FortiManager version. Returned: complex |