ansible-hardening/templates/pwquality.conf.j2
Major Hayden 8ad68162f3 Set minimum password length [+Docs]
This patch allows deployers to opt in for a minimum password
length restriction. Documentation is included.

Implements: blueprint security-rhel7-stig
Change-Id: Ia1d5d6677233ae21ce585b4a363d130e1bb003fa
2016-12-02 19:57:14 +00:00

9 lines
265 B
Django/Jinja

{% if security_pwquality_apply_rules | bool %}
{% for rule in password_quality_rhel7 %}
{% if rule.value is defined and rule.enabled | bool %}
# {{ rule.stig_id }} - {{ rule.description }}
{{ rule.parameter}} = {{ rule.value }}
{% endif %}
{% endfor %}
{% endif %}