Role - login-defs

Login-defs role installs default parameters for user account parameters. They are used by useradd, usermod, userdel, groupadd and other group utilities. Parameters are set in /etc/login.defs file.

Role Documentation

Welcome to the “login-defs” role documentation.

Role Defaults

This section highlights all of the defaults and variables set within the “login-defs” role.

tripleo_login_defs_debug: false
tripleo_login_defs_fail_delay: 4
tripleo_login_defs_password_max_days: 60
tripleo_login_defs_password_min_days: 1
tripleo_login_defs_password_min_len: 5
tripleo_login_defs_password_warn_age: 7

Molecule Scenarios

Molecule is being used to test the “login-defs” role. The following section highlights the drivers in service and provides an example playbook showing how the role is leveraged.

Scenario: default

Driver: docker
Example default playbook
- hosts: all
  name: Converge
  - role: login-defs