Skip to content

Commit

Permalink
Check_mode: false, otherwise gets skipped
Browse files Browse the repository at this point in the history
Signed-off-by: Ionut Pruteanu <[email protected]>
  • Loading branch information
ipruteanu-sie committed Feb 6, 2024
1 parent 594e52a commit c51712e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/section_5/cis_5.6.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
grep -E -q "^session\s*(optional|requisite|required)\s*pam_umask.so$" /etc/pam.d/system-auth
ignore_errors: true
no_log: true
check_mode: true
check_mode: false
register: pam_umask_line_present_system

- name: "5.6.5 | PATCH | Ensure default user umask is 027 or more restrictive | If needed, load session umask.so in system-auth"
Expand All @@ -119,7 +119,7 @@
grep -E -q "^session\s*(optional|requisite|required)\s*pam_umask.so$" /etc/pam.d/password-auth
ignore_errors: true
no_log: true
check_mode: true
check_mode: false
register: pam_umask_line_present_password

- name: "5.6.5 | PATCH | Ensure default user umask is 027 or more restrictive | If needed, load session umask.so in password-auth"
Expand Down

0 comments on commit c51712e

Please sign in to comment.