fmgr_dvmdb_script
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Collection: fortinet.fortimanager
Full Name: fortinet.fortimanager.fmgr_dvmdb_script
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| adom | str | yes | ||
| bypass_validation | bool | false | ||
| dvmdb_script | dict | |||
| enable_log | bool | false | ||
| forticloud_access_token | str | |||
| proposed_method | str | |||
| rc_failed | list | |||
| rc_succeeded | list | |||
| state | str | yes | ||
| workspace_locking_adom | str | |||
| workspace_locking_timeout | int | 300 |
Example
yaml
- fortinet.fortimanager.fmgr_dvmdb_script:
adom: root
dvmdb_script:
content: |
config system global
set remoteauthtimeout 80
end
desc: A script created via Ansible
name: branch-authentication-timeout
type: cli
state: present
name: Create a Script to later execute