forked from ansible-lockdown/RHEL9-CIS
#72 improve password check
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
059aa6ff9a
commit
7c34f61d11
2 changed files with 7 additions and 0 deletions
|
|
@ -1,6 +1,12 @@
|
||||||
# Changes to rhel9CIS
|
# Changes to rhel9CIS
|
||||||
|
|
||||||
|
## 1.0.10
|
||||||
|
|
||||||
|
- [#72](https://github.com/ansible-lockdown/RHEL9-CIS/issues/72)
|
||||||
|
- Only run check when paybook user not a superuser
|
||||||
|
|
||||||
## 1.0.9
|
## 1.0.9
|
||||||
|
|
||||||
fixed assert for user password set
|
fixed assert for user password set
|
||||||
|
|
||||||
thanks to @byjunks
|
thanks to @byjunks
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@
|
||||||
sudo_password_rule: rhel9cis_rule_5_3_4
|
sudo_password_rule: rhel9cis_rule_5_3_4
|
||||||
when:
|
when:
|
||||||
- rhel9cis_rule_5_3_4
|
- rhel9cis_rule_5_3_4
|
||||||
|
- ansible_env.SUDO_USER is defined
|
||||||
- not system_is_ec2
|
- not system_is_ec2
|
||||||
tags:
|
tags:
|
||||||
- user_passwd
|
- user_passwd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue