Skip to content

Commit

Permalink
if timesyncd is not installed 2.1.1.1 errors
Browse files Browse the repository at this point in the history
Signed-off-by: Dan D <[email protected]>
  • Loading branch information
dderemiah committed Oct 21, 2023
1 parent 970e649 commit fdbe3f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tasks/section_2/cis_2.1.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
enabled: false
masked: true
daemon_reload: true
when: ubtu22cis_time_sync_tool != "systemd-timesyncd"
when:
- ubtu22cis_time_sync_tool != "systemd-timesyncd"
- "'systemd-timesyncd' in ansible_facts.packages"

when:
- ubtu22cis_rule_2_1_1_1
tags:
Expand Down

0 comments on commit fdbe3f0

Please sign in to comment.