PARALLAX

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

NameTypeRequiredDefaultDescription
access_tokenstr
adomstryes
bypass_validationboolfalse
dvmdb_scriptdict
enable_logboolfalse
forticloud_access_tokenstr
proposed_methodstr
rc_failedlist
rc_succeededlist
statestryes
workspace_locking_adomstr
workspace_locking_timeoutint300

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
Search
    ↑ ↓ move↵ openesc close