Skip to content

Commit

Permalink
Merge pull request #119 from kdebisschop/CIS-2_1_1_1-should-not-fail-…
Browse files Browse the repository at this point in the history
…if-systemd-timesyncd-not-installed

CIS 2.1.1.1 should not fail if systemd-timesyncd is not installed
  • Loading branch information
uk-bolly authored Dec 11, 2023
2 parents 92d74d5 + 91f1f3f commit 5eaa8c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/section_2/cis_2.1.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
state: stopped
enabled: false
masked: true
when: ubtu20cis_time_sync_tool != "systemd-timesyncd"
when:
- ubtu20cis_time_sync_tool != "systemd-timesyncd"
- "'systemd-timesyncd' in ansible_facts.packages"
when:
- ubtu20cis_rule_2_1_1_1
tags:
Expand Down

0 comments on commit 5eaa8c3

Please sign in to comment.