added fix for #21 thanks to @PhilEV

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2025-05-12 14:25:59 +01:00
parent 0347692661
commit af372a7c73
No known key found for this signature in database
GPG Key ID: 997FF7FE93AEB5B9
1 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,9 @@
sudo_password_rule: ubtu24cis_rule_5_2_4 # pragma: allowlist secret
- name: Ensure root password is set
when: ubtu24cis_rule_5_4_2_4
when:
- ubtu24cis_section5
- ubtu24cis_rule_5_4_2_4
tags: always
block:
- name: Ensure root password is set