{"id":29356963,"url":"https://github.com/cesnet/ansible-role-ntp","last_synced_at":"2026-02-04T03:32:48.719Z","repository":{"id":45622579,"uuid":"513869566","full_name":"CESNET/ansible-role-ntp","owner":"CESNET","description":"Ansible role for setting up NTP time synchronization on Debian","archived":false,"fork":false,"pushed_at":"2024-08-13T10:10:55.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-08-13T12:51:15.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CESNET.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-14T11:12:52.000Z","updated_at":"2024-08-13T10:09:56.000Z","dependencies_parsed_at":"2024-08-13T11:48:59.495Z","dependency_job_id":null,"html_url":"https://github.com/CESNET/ansible-role-ntp","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/CESNET/ansible-role-ntp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-ntp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-ntp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-ntp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-ntp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CESNET","download_url":"https://codeload.github.com/CESNET/ansible-role-ntp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-ntp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29065987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-09T05:41:10.204Z","updated_at":"2026-02-04T03:32:48.713Z","avatar_url":"https://github.com/CESNET.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-role-ntp\nAnsible role for setting up NTP time synchronization on Debian/Ubuntu.\n\nThere are 3 packages for NTP in Debian: ntp, chrony and systemd-timesyncd.\nThis role installs the package **chrony** which uninstalls ntp or systemd-timesyncd\nif any of them is already installed. \n\nThen the file /etc/chrony/sources.d/cesnet.sources is created to contain NTP server definitions\nspecified in the variable ntp_servers.\n\nRole Variables\n--------------\n\n* **ntp_servers** - content of /etc/chrony/sources.d/cesnet.sources, default is \n```\nserver tik.cesnet.cz iburst\nserver tak.cesnet.cz iburst\nserver ntp1.cesnet.cz iburst\nserver ts1.cesnet.cz iburst\nserver ts2.cesnet.cz iburst\n```\n* **ntp_disable_default_pool**\n  * Default: `false`\n  * Should be `true` if the default Debian pool should be disabled\n\nExamples of Playbooks\n----------------\n\n```yaml\n    - hosts: all \n      roles:\n         - role: cesnet.ntp\n           vars:\n             ntp_servers: |2\n               server: tik.cesnet.cz iburst\n```\nor\n```yaml\n    - hosts: all \n      tasks:\n        - import_role:\n            name: \"cesnet.ntp\"\n          vars:\n            ntp_servers: \"{{ my_ntp_servers }}\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesnet%2Fansible-role-ntp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcesnet%2Fansible-role-ntp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesnet%2Fansible-role-ntp/lists"}