File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
molecule/os_hardening/verify_tasks Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7474 - " 'WARNING: Your password has expired.' in output.stderr"
7575 - " 'success' not in output.stdout"
7676 when :
77- - ansible_facts.os_family != "OpenSuse "
77+ - ansible_facts.os_family != "Suse "
7878
7979- name : Assert check unsuccessful login
8080 ansible.builtin.assert :
8383 - output.stderr | length == 0
8484 - output.stdout | length == 0
8585 when :
86- - ansible_facts.os_family == "OpenSuse "
86+ - ansible_facts.os_family == "Suse "
8787
8888- name : Check successful login with ssh key
8989 ansible.builtin.shell :
Original file line number Diff line number Diff line change 4343 regexp : " ^(account.*pam_unix.so(?!.*no_pass_expiry).*)$"
4444 line : ' \1 no_pass_expiry'
4545 when :
46- - ansible_facts.os_family == 'OpenSuse '
46+ - ansible_facts.os_family == 'Suse '
4747
4848- name : NSA 2.3.3.5 Upgrade Password Hashing Algorithm to SHA-512
4949 ansible.builtin.template :
You can’t perform that action at this time.
0 commit comments