File: template_ANSIBLE_accounts_password

package info (click to toggle)
scap-security-guide 0.1.39-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 31,836 kB
  • sloc: xml: 129,736; python: 7,462; sh: 3,796; makefile: 27
file content (12 lines) | stat: -rw-r--r-- 344 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# platform = Red Hat Enterprise Linux 7, multi_platform_fedora
- (xccdf-var var_password_pam_%VARIABLE%)

- name: Ensure PAM variable %VARIABLE% is set accordingly
  lineinfile:
    create=yes
    dest="/etc/security/pwquality.conf"
    regexp="^%VARIABLE%"
    line="%VARIABLE% = {{ var_password_pam_%VARIABLE% }}"
  tags:
    @ANSIBLE_TAGS@