PARALLAX

fortios_switch_controller_switch_profile

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_switch_profile

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

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_switch_controller_switch_profile:
    access_token: '{{ fortios_access_token }}'
    state: present
    switch_controller_switch_profile:
        login: enable
        login_passwd_override: enable
        name: default_name_6
        revision_backup_on_logout: enable
        revision_backup_on_upgrade: enable
    vdom: root
  name: Configure FortiSwitch switch profile.
Search
    ↑ ↓ move↵ openesc close