florianutz / Ubuntu1804-CIS

Ubuntu CIS Hardening Ansible Role
MIT License
212 stars 127 forks source link

Time sync config #12

Closed maldonadojoan closed 5 years ago

maldonadojoan commented 5 years ago

This changes will allow the user to define the directives used when defining _ubuntu1804cis_time_synchronizationservers. With the current code, you can define the synchronization servers, but not the directives for each of them. The goal of these changes is to be able to use this role in different use cases. In my case, I had to configure chrony in multiple AWS instances. As you can see in AWS documentation the recommended configuration for this case is: server 169.254.169.123 prefer iburst But the current chrony.conf template only allowed me to use: server 169.254.169.123 minpoll 8

florianutz commented 5 years ago

Thank you for your useful extension