PARALLAX

fortios_switch_controller_location

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_location

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

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_switch_controller_location:
    access_token: '{{ fortios_access_token }}'
    state: present
    switch_controller_location:
        address_civic:
            name: default_name_18
        coordinates:
            altitude_unit: m
            datum: WGS84
        name: default_name_48
    vdom: root
  name: Configure FortiSwitch location services.
Search
    ↑ ↓ move↵ openesc close