fmgr_move
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Collection: fortinet.fortimanager
Full Name: fortinet.fortimanager.fmgr_move
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 | |||
| enable_log | bool | false | ||
| forticloud_access_token | str | |||
| move | dict | yes | ||
| rc_failed | list | |||
| rc_succeeded | list | |||
| workspace_locking_adom | str | |||
| workspace_locking_timeout | int | 300 |
Example
yaml
- name: Move a policy before another policy
fortinet.fortimanager.fmgr_move:
move:
selector: pkg_firewall_policy
self:
adom: root
pkg: branch-policies
policy: '12'
action: before
target: '3'