PARALLAX

fortios_user_fortitoken

Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS

Collection: fortinet.fortios

Full Name: fortinet.fortios.fortios_user_fortitoken

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS

Parameters

NameTypeRequiredDefaultDescription
access_tokenstr
enable_logboolfalse
member_pathstr
member_statestr
statestryes
user_fortitokendict
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token, fortios_fortitoken_serial.
- fortinet.fortios.fortios_user_fortitoken:
    access_token: '{{ fortios_access_token }}'
    state: present
    user_fortitoken:
        activation_expire: "0"
        serial_number: '{{ fortios_fortitoken_serial }}'
        status: active
    vdom: root
  name: Configure FortiToken.
Search
    ↑ ↓ move↵ openesc close