fmgr_system_dhcp_server
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Collection: fortinet.fortimanager
Full Name: fortinet.fortimanager.fmgr_system_dhcp_server
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 | ||
| system_dhcp_server | dict | |||
| workspace_locking_adom | str | |||
| workspace_locking_timeout | int | 300 |
Example
yaml
- fortinet.fortimanager.fmgr_system_dhcp_server:
adom: ansible
bypass_validation: false
state: present
system_dhcp_server:
auto_configuration: enable
default_gateway: 222.222.222.1
filename: ansible-file
id: 1
interface: any
ip_mode: range
ip_range:
- end_ip: 222.222.222.22
id: 1
start_ip: 222.222.222.2
netmask: 255.255.255.0
server_type: regular
status: disable
name: Configure DHCP servers.