From ba97c8830364c2c55bcb60b3a257e5930da276fd Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Fri, 19 Mar 2021 20:54:04 +0000 Subject: [PATCH] Add initial NTP server support to nms hosts --- playbooks/nms.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/nms.yml b/playbooks/nms.yml index bfdc4a5..6494a2e 100644 --- a/playbooks/nms.yml +++ b/playbooks/nms.yml @@ -29,6 +29,12 @@ - import_role: name: rsyslog tasks_from: udp-listen + # convert this to role for restart support + - name: enable ntp server for oob network + lineinfile: + path: /etc/chrony.conf + regexp: "^#?allow .*" + line: "allow 172.20.25.0/24" - name: install extra tools package: name: "{{ item }}"