summaryrefslogtreecommitdiff
path: root/roles/chrony/templates/chrony.conf.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-11-27 21:24:53 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-11-28 00:52:02 +0100
commit8ffeaf71efa7472ff8511c445aa8874b1b1f3613 (patch)
tree18132a977c42dd04a23ed61550df3a495d899f24 /roles/chrony/templates/chrony.conf.j2
parentkubernetes/standalone: fix config hash annotation if role is included multipl... (diff)
move chrony role to core/ntp (WIP)
Diffstat (limited to 'roles/chrony/templates/chrony.conf.j2')
-rw-r--r--roles/chrony/templates/chrony.conf.j255
1 files changed, 0 insertions, 55 deletions
diff --git a/roles/chrony/templates/chrony.conf.j2 b/roles/chrony/templates/chrony.conf.j2
deleted file mode 100644
index 62d45315..00000000
--- a/roles/chrony/templates/chrony.conf.j2
+++ /dev/null
@@ -1,55 +0,0 @@
-### Global options
-
-cmdport 0
-keyfile /etc/chrony/chrony.keys
-driftfile /var/lib/chrony/chrony.drift
-logdir /var/log/chrony
-maxupdateskew 100.0
-rtcsync
-makestep 1 3
-
-{% if chrony_hwtimestamp_interfaces is defined %}
-{% for interface in chrony_hwtimestamp_interfaces %}
-hwtimestamp {{ interface.name }}{% if 'options' in interface %} {{ interface.options }}{% endif %}{{ '' }}
-{% endfor %}
-
-{% endif %}
-
-### Sources
-
-{% if chrony_source_servers is defined %}
-{% for server in chrony_source_servers %}
-server {{ server.name }}{% if 'options' in server %} {{ server.options }}{% endif %}{{ '' }}
-{% endfor %}
-
-{% endif %}
-{% if chrony_source_pools is defined %}
-{% for pool in chrony_source_pools %}
-pool {{ pool.name }}{% if 'options' in pool %} {{ pool.options }}{% endif %}{{ '' }}
-{% endfor %}
-
-{% endif %}
-{% if chrony_source_peers is defined %}
-{% for peer in chrony_source_peers %}
-peer {{ peer.name }}{% if 'options' in peer %} {{ peer.options }}{% endif %}{{ '' }}
-{% endfor %}
-
-{% endif %}
-
-
-{% if chrony_server is defined %}
-### Server
-
-{% for rule in chrony_server.allow | default([]) %}
-allow {{ rule }}
-{% endfor %}
-{% for rule in chrony_server.deny | default([]) %}
-deny {{ rule }}
-{% endfor %}
-{% if 'bindaddress' in chrony_server %}
-bindaddress {{ chrony_server.bind }}
-{% endif %}
-{% if 'port' in chrony_server %}
- port {{ chrony_server.port }}
-{% endif %}
-{% endif %}