PARALLAX

fortios_system_admin

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_admin

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

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_system_admin:
    access_token: '{{ fortios_access_token }}'
    state: present
    system_admin:
        accprofile_override: enable
        allow_remove_admin_session: enable
        force_password_change: enable
        guest_auth: disable
        guest_usergroups:
            - name: default_name_13
        gui_dashboard:
            - columns: "10"
              id: "16"
              layout_type: responsive
              name: default_name_18
              permanent: disable
              scope: global
              widget:
                - fortiview_filters:
                    - id: "28"
                  height: "25"
                  id: "36"
                  industry: default
                  region: default
                  type: sysinfo
                  width: "25"
                  x_pos: "500"
                  y_pos: "500"
        gui_global_menu_favorites:
            - id: "46"
        gui_new_feature_acknowledge:
            - id: "48"
        gui_vdom_menu_favorites:
            - id: "50"
        hidden: "127"
        ip6_trusthost1: myhostname
        ip6_trusthost2: myhostname
        ip6_trusthost3: myhostname
        ip6_trusthost4: myhostname
        ip6_trusthost5: myhostname
        ip6_trusthost6: myhostname
        ip6_trusthost7: myhostname
        ip6_trusthost8: myhostname
        ip6_trusthost9: myhostname
        ip6_trusthost10: myhostname
        name: default_name_68
        peer_auth: enable
        radius_vdom_override: enable
        remote_auth: enable
        sms_server: fortiguard
        trusthost1: myhostname
        trusthost2: myhostname
        trusthost3: myhostname
        trusthost4: myhostname
        trusthost5: myhostname
        trusthost6: myhostname
        trusthost7: myhostname
        trusthost8: myhostname
        trusthost9: myhostname
        trusthost10: myhostname
        two_factor: disable
        two_factor_authentication: fortitoken
        two_factor_notification: email
        vdom:
            - name: default_name_98 (source system.vdom.name)
        vdom_override: enable
        wildcard: enable
    vdom: root
  name: Configure admin users.
Search
    ↑ ↓ move↵ openesc close