PARALLAX

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

NameTypeRequiredDefaultDescription
access_tokenstr
adomstryes
bypass_validationboolfalse
enable_logboolfalse
forticloud_access_tokenstr
proposed_methodstr
rc_failedlist
rc_succeededlist
revision_notestr
statestryes
system_dhcp_serverdict
workspace_locking_adomstr
workspace_locking_timeoutint300

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.
Search
    ↑ ↓ move↵ openesc close