)]}'
{"ansible/roles/prechecks/tasks/timesync_checks.yml":[{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"34f7171d49b686025683aee9662b6823b9332ea0","unresolved":true,"context_lines":[{"line_number":32,"context_line":"    - name: Checking if time is synchronized"},{"line_number":33,"context_line":"      become: true"},{"line_number":34,"context_line":"      ansible.builtin.stat:"},{"line_number":35,"context_line":"        path: /run/systemd/timesync/synchronized"},{"line_number":36,"context_line":"      register: _timesync_file"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    - name: Fail if the clock is not synchronized"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"339ca367_c9494a07","line":35,"range":{"start_line":35,"start_character":14,"end_line":35,"end_character":48},"updated":"2026-03-10 20:10:40.000000000","message":"this works only with systemd-timesyncd, it will fail if chrony for example used.\ntimedatectl support all daemons.","commit_id":"d5d4c23ddca50409757cad660c718c288419b3e7"}]}
