PARALLAX

fortios_user_password_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_password_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_password_policydict
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_user_password_policy:
    access_token: '{{ fortios_access_token }}'
    state: present
    user_password_policy:
        expire_days: "180"
        expire_status: enable
        expired_password_renewal: enable
        min_change_characters: "0"
        min_lower_case_letter: "0"
        min_non_alphanumeric: "0"
        min_number: "0"
        min_upper_case_letter: "0"
        minimum_length: "8"
        name: default_name_12
        reuse_password: enable
        reuse_password_limit: "0"
        warn_days: "15"
    vdom: root
  name: Configure user password policy.
Search
    ↑ ↓ move↵ openesc close