diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2018-11-25 18:25:22 +0100 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2018-11-25 18:25:22 +0100 |
commit | 0c93133462594ed61ad1a911413542c29c736041 (patch) | |
tree | efd7bffef7343bc0ea22e12d969dd32c4e82ed77 | |
parent | 32d8cf30e6d46e7b1ccd7530f397af1bd5eaeeaf (diff) | |
download | playbooks-ansible-0c93133462594ed61ad1a911413542c29c736041.tar.gz playbooks-ansible-0c93133462594ed61ad1a911413542c29c736041.tar.xz playbooks-ansible-0c93133462594ed61ad1a911413542c29c736041.zip |
Update config files for ntpserver and proxy roles
-rw-r--r-- | roles/ntpserver/templates/chrony.conf.j2 | 8 | ||||
-rw-r--r-- | roles/proxy/templates/squid.conf.j2 | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/roles/ntpserver/templates/chrony.conf.j2 b/roles/ntpserver/templates/chrony.conf.j2 index c836cb7..eb1f825 100644 --- a/roles/ntpserver/templates/chrony.conf.j2 +++ b/roles/ntpserver/templates/chrony.conf.j2 @@ -31,6 +31,14 @@ rtcsync # if the adjustment is larger than 1 second. makestep 1.0 3 +# Enable hardware timestamping on all interfaces that support it. +#hwtimestamp * + +# Increase the minimum number of selectable sources required to adjust +# the system clock. +#minsources 2 +minsources 1 + # Allow NTP client access from local network. #allow 192.168/16 allow diff --git a/roles/proxy/templates/squid.conf.j2 b/roles/proxy/templates/squid.conf.j2 index bc7c43d..2be3623 100644 --- a/roles/proxy/templates/squid.conf.j2 +++ b/roles/proxy/templates/squid.conf.j2 @@ -102,7 +102,7 @@ cache_dir aufs /var/spool/squid 2048 16 256 acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN) acl localnet src 10.0.0.0/8 # RFC 1918 local private network (LAN) acl localnet src 100.64.0.0/10 # RFC 6598 shared address space (CGN) -acl localhet src 169.254.0.0/16 # RFC 3927 link-local (directly plugged) machines +acl localnet src 169.254.0.0/16 # RFC 3927 link-local (directly plugged) machines acl localnet src 172.16.0.0/12 # RFC 1918 local private network (LAN) acl localnet src 192.168.0.0/16 # RFC 1918 local private network (LAN) acl localnet src fc00::/7 # RFC 4193 local private network range |