From 9cff4cae446e81ad4ccee14d55835cc6e15e8ba8 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Thu, 1 Apr 2021 22:45:08 +0000 Subject: [PATCH] Add NTP server to zm hosts --- playbooks/zm.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/zm.yml b/playbooks/zm.yml index 319dbb3..0bdbe72 100644 --- a/playbooks/zm.yml +++ b/playbooks/zm.yml @@ -49,3 +49,9 @@ owner: root group: "{{ ansible_wheel }}" notify: restart apache + + - name: enable ntp server for cam network + lineinfile: + path: /etc/chrony.conf + regexp: "^#?allow .*" + line: "allow 172.20.26.0/24"