fortios_user_local
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_local
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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| user_local | dict | |||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_user_local:
access_token: '{{ fortios_access_token }}'
state: present
user_local:
auth_concurrent_override: enable
auth_concurrent_value: "0"
authtimeout: "0"
id: "8"
name: default_name_10
sms_server: fortiguard
status: enable
two_factor: disable
two_factor_authentication: fortitoken
two_factor_notification: email
type: password
username_case_sensitivity: disable
username_sensitivity: disable
vdom: root
name: Configure local users.