Skip to content

Commit

Permalink
Skip '90-cloud-init-users' file
Browse files Browse the repository at this point in the history
  • Loading branch information
ferricoxide committed May 30, 2024
1 parent 9fb0099 commit 13d6daf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Why Skip ({{ stig_id }}) - is {{ biosVendor }}:
--------------------------------------------------
{%- else %}
{%- for sudoer in sudoerFiles %}
{%- if salt.file.search(sudoer, '^[a-zA-Z%@].*NOPASSWD') %}
{%- if sudoer != "/etc/sudoers.d/90-cloud-init-users" and salt.file.search(sudoer, '^[a-zA-Z%@].*NOPASSWD') %}
notify_{{ stig_id}}-{{ sudoer }}:
test.show_notification:
- text: |
Expand Down

0 comments on commit 13d6daf

Please sign in to comment.