PARALLAX

fortios_system_dhcp_server

Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS

Collection: fortinet.fortios

Full Name: fortinet.fortios.fortios_system_dhcp_server

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

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_system_dhcp_server:
    access_token: '{{ fortios_access_token }}'
    state: present
    system_dhcp_server:
        auto_configuration: disable
        auto_managed_status: disable
        conflicted_ip_timeout: "1800"
        ddns_auth: disable
        ddns_ttl: "300"
        ddns_update: disable
        ddns_update_override: disable
        dhcp_settings_from_fortiipam: disable
        dns_service: local
        exclude_range:
            - id: "24"
              lease_time: "0"
              uci_match: disable
              vci_match: disable
        forticlient_on_net_status: disable
        id: "35"
        ip_mode: range
        ip_range:
            - id: "40"
              lease_time: "0"
              uci_match: disable
              vci_match: disable
        ipsec_lease_hold: "60"
        lease_time: "604800"
        mac_acl_default_action: assign
        ntp_service: local
        options:
            - code: "0"
              id: "60"
              type: hex
              uci_match: disable
              vci_match: disable
        reserved_address:
            - action: assign
              circuit_id_type: hex
              id: "76"
              remote_id_type: hex
              type: mac
        server_type: regular
        shared_subnet: disable
        status: disable
        timezone: "01"
        timezone_option: disable
        vci_match: disable
        wifi_ac_service: specify
    vdom: root
  name: Configure DHCP servers.
Search
    ↑ ↓ move↵ openesc close