ansible-role-ntp
ansible-role-ntp copied to clipboard
Ansible Role - NTP
Setting `inject_facts_as_vars = False` is considered safer because a compromised host cannot inject facts into variables. However, the code fails when this is set: ``` {"msg": "The task includes an...
I think the readme is outdated, there is no "community.general" in Requirements. When I try to ansible-lint a playbook using geerlingguy/ntp, I get the following error : `../../../../home/runner/.cache/ansible-compat/70d583/roles/geerlingguy.ntp/tasks/main.yml:36:3: syntax-check: couldn't...
The primary use case for this change is virtual machines running on laptops. With the default configuration if a laptop is put to sleep for > 1000 seconds so that...
This is an implementation proposition for https://github.com/geerlingguy/ansible-role-ntp It does not change the default role's behaviour and allows user to override the default provided template with their own.
Similar to #77 chrony supports the `pool` directive since version 2.0 (see [chrony-2.0 released](https://chrony.tuxfamily.org/news.html#_27_apr_2015_chrony_2_0_released)). This version is quite old (2015) and hence the directive should be supported by all major...
It seems Rockylinux is expecting the Rocky.yml file in variables but it is not found. ``` fatal: [rockylinux8]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find...
Hello, I have installed Debian 12 using the `Europe/Warsaw` timezone and configured the host using `ntp_timezone=US/Eastern`. And then I've noticed the following: - `/etc/localtime` points to `/usr/share/zoneinfo/US/Eastern` - OK, as...
There was already a `ntp_restrict` variable, but it was only used in `ntp.conf.j2`. This will add it to `chrony.conf.j2` as well.
## Pull Request Resume Author: GreenITSolutions Date: 2023/10/18 Pull Request Description: This pull request aims to enhance the OS-specific variable inclusion in the Ansible role to provide better support for...
This pull request allow users to edit `maxdistance` param in chrony config. It usefull to fix the issue when the distance with the source is greater than the default value...