From 779f25448a6b5c160b9ffc1ea46856bd8535a162 Mon Sep 17 00:00:00 2001 From: diodonfrost Date: Fri, 28 Dec 2018 15:27:57 +0100 Subject: [PATCH] remove timezone configuration --- README.md | 18 ++++++++++++++++++ defaults/main.yml | 4 ---- tasks/config.yml | 4 ---- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5538448..c8125f7 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,24 @@ This role has multiple variables. The defaults for all these variables are the f --- # defaults file for ansible-role-ntp +# Restrict acces on ntp server +# Default is: ::1, 127.0.0.1 +ntp_restrict: + - default nomodify notrap nopeer noquery + - 127.0.0.1 + - ::1 + +# Ntp server to use for date synchronization +# Default is worldwide pool +ntp_servers: + - 0.pool.ntp.org iburst + - 1.pool.ntp.org iburst + - 2.pool.ntp.org iburst + - 3.pool.ntp.org iburst + +# Enable or disable ntp statistics +# Default is false +ntp_statistics: false ``` ## Dependencies diff --git a/defaults/main.yml b/defaults/main.yml index f808dc7..05a46f4 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -19,7 +19,3 @@ ntp_servers: # Enable or disable ntp statistics # Default is false ntp_statistics: false - -# Define timezone to use -# Default is Etc/UTC -ntp_timezone: Europe/London diff --git a/tasks/config.yml b/tasks/config.yml index 7a2c7f2..ec0e2e4 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -1,10 +1,6 @@ --- # Tasks file for config ntp daemon -- name: Define timezone to use - timezone: - name: "{{ ntp_timezone }}" - - name: seting-up ntp config template: src: ntp.conf.j2