diff --git a/shared/templates/accounts_password/ansible.template b/shared/templates/accounts_password/ansible.template index f25e7cc5428..858f462f33a 100644 --- a/shared/templates/accounts_password/ansible.template +++ b/shared/templates/accounts_password/ansible.template @@ -29,6 +29,10 @@ }}} {{% endif %}} +{{% if "ubuntu" in product %}} +{{{ ansible_pam_pwquality_enable('/usr/share/pam-configs/cac_pwquality') }}} +{{% endif %}} + - name: {{{ rule_title }}} - Ensure PAM variable {{{ VARIABLE }}} is set accordingly ansible.builtin.lineinfile: create: yes