PARALLAX

fortios_switch_controller_initial_config_template

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

Collection: fortinet.fortios

Full Name: fortinet.fortios.fortios_switch_controller_initial_config_template

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

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_switch_controller_initial_config_template:
    access_token: '{{ fortios_access_token }}'
    state: present
    switch_controller_initial_config_template:
        allowaccess: ping
        auto_ip: enable
        dhcp_server: enable
        name: default_name_7
        vlanid: "0"
    vdom: root
  name: Configure template for auto-generated VLANs.
Search
    ↑ ↓ move↵ openesc close