You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Issue
Role fails when ubtu22cis_time_sync_tool: "systemd-timesyncd" with error "'state' cannot be specified on a template"
Expected Behavior
Role completes without errors
Actual Behavior
Role fails
Control(s) Affected
2.1.3.1
Environment (please complete the following information):
branch being used: devel
Ansible Version: 2.15.3
Host Python Version: 3.10.12
Ansible Server Python Version: 3.10.12
Additional Details:
Additional Notes
TASK [UBUNTU22-CIS : 2.1.3.1 | PATCH | Ensure systemd-timesyncd configured with authorized timeserver | sources] ***************************************************************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None
failed: [misp] (item=etc/systemd/timesyncd.conf.d/50-timesyncd.conf) => {"ansible_loop_var": "item", "changed": false, "item": "etc/systemd/timesyncd.conf.d/50-timesyncd.conf", "msg": "'state' cannot be specified on a template"}
Possible Solution
Remove state: present from config
The text was updated successfully, but these errors were encountered:
Describe the Issue
Role fails when
ubtu22cis_time_sync_tool: "systemd-timesyncd"
with error"'state' cannot be specified on a template"
Expected Behavior
Role completes without errors
Actual Behavior
Role fails
Control(s) Affected
2.1.3.1
Environment (please complete the following information):
Additional Notes
Possible Solution
Remove
state: present
from configThe text was updated successfully, but these errors were encountered: