PARALLAX

fortios_user_nac_policy

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

Collection: fortinet.fortios

Full Name: fortinet.fortios.fortios_user_nac_policy

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

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_user_nac_policy:
    access_token: '{{ fortios_access_token }}'
    state: present
    user_nac_policy:
        category: device
        host: myhostname
        match_period: "0"
        match_remove: default
        match_type: dynamic
        name: default_name_16
        severity:
            - severity_num: 1
        status: enable
        switch_auto_auth: global
        switch_group:
            - name: default_name_27 (source switch-controller.switch-group.name)
    vdom: root
  name: Configure NAC policy matching pattern to identify matching NAC devices.
Search
    ↑ ↓ move↵ openesc close