diff --git a/roles/services/tasks/main.yml b/roles/services/tasks/main.yml index ec88628..b4222aa 100644 --- a/roles/services/tasks/main.yml +++ b/roles/services/tasks/main.yml @@ -1,5 +1,4 @@ -- import_tasks: witness.yml - tags: witness -- import_tasks: task.yml - tags: task +- import_tasks: timeserver.yml + tags: timeserver + diff --git a/roles/services/tasks/timeserver.yml b/roles/services/tasks/timeserver.yml new file mode 100644 index 0000000..139597f --- /dev/null +++ b/roles/services/tasks/timeserver.yml @@ -0,0 +1,2 @@ + + diff --git a/roles/services/templates/custom.conf b/roles/services/templates/custom.conf new file mode 100644 index 0000000..8bcd532 --- /dev/null +++ b/roles/services/templates/custom.conf @@ -0,0 +1,17 @@ +# vendor zone +{{ timeserver_vendor_zone }} + +# Logging +log tracking statistics + +# will serve as local NTP server +local stratum 10 + +# restrict clients from your subnets +allow {{ timeserver_restrict_clients_zone }} + +# in case this server lost INTERNET connection +local stratum 10 + +# in case you wanna to broadcat time in your subnet +{{ timeserver_broadcat_subnet }}