Grant all members of NOC access to ctf.realraum.at
[noc.git] / ansible / roles / base / tasks / 03ntp.yml
1 ---
2 - when: base_managed_ntpd | bool
3   block:
4     - name: check that ISC ntpd is not installed
5       apt:
6         name: ntp
7         state: absent
8         purge: yes
9
10     - name: install openntpd
11       apt:
12         name: openntpd
13
14     - name: configure openntpd
15       copy:
16         dest: /etc/openntpd/ntpd.conf
17         content: |
18           # Use the ffgraz.net NTP server
19           servers ntp.ffgraz.net weight 3
20
21           # Use some servers announced from the NTP Pool
22           servers 0.debian.pool.ntp.org
23           servers 1.debian.pool.ntp.org
24
25       notify: restart openntpd