Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIS 2.1.1.1 should not fail if systemd-timesyncd is not installed #119

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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