PARALLAX

fortios_user_peer

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_peer

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_peerdict
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_user_peer:
    access_token: '{{ fortios_access_token }}'
    state: present
    user_peer:
        cn_type: string
        ldap_mode: password
        mandatory_ca_verify: enable
        mfa_mode: none
        name: default_name_15
        two_factor: enable
    vdom: root
  name: Configure peer users.
Search
    ↑ ↓ move↵ openesc close