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:
parent
a366c6a2c9
commit
779f25448a
3 changed files with 18 additions and 8 deletions
18
README.md
18
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue