1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ntp.git synced 2024-08-16 12:59:49 +02:00

remove timezone configuration

This commit is contained in:
diodonfrost 2018-12-28 15:27:57 +01:00
parent a366c6a2c9
commit 779f25448a
3 changed files with 18 additions and 8 deletions

View file

@ -82,6 +82,24 @@ This role has multiple variables. The defaults for all these variables are the f
--- ---
# defaults file for ansible-role-ntp # 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 ## Dependencies

View file

@ -19,7 +19,3 @@ ntp_servers:
# Enable or disable ntp statistics # Enable or disable ntp statistics
# Default is false # Default is false
ntp_statistics: false ntp_statistics: false
# Define timezone to use
# Default is Etc/UTC
ntp_timezone: Europe/London

View file

@ -1,10 +1,6 @@
--- ---
# Tasks file for config ntp daemon # Tasks file for config ntp daemon
- name: Define timezone to use
timezone:
name: "{{ ntp_timezone }}"
- name: seting-up ntp config - name: seting-up ntp config
template: template:
src: ntp.conf.j2 src: ntp.conf.j2