fmgr_user_peer
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Collection: fortinet.fortimanager
Full Name: fortinet.fortimanager.fmgr_user_peer
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 | ||
| enable_log | bool | false | ||
| forticloud_access_token | str | |||
| proposed_method | str | |||
| rc_failed | list | |||
| rc_succeeded | list | |||
| revision_note | str | |||
| state | str | yes | ||
| user_peer | dict | |||
| workspace_locking_adom | str | |||
| workspace_locking_timeout | int | 300 |
Example
yaml
- fortinet.fortimanager.fmgr_user_peer:
adom: ansible
bypass_validation: false
state: present
user_peer:
cn_type: email
name: ansible-test-peer
passwd: fortinet
name: Configure peer users.