From bb814ddfba84e2168255463d2065b866bd191f0e Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Wed, 30 Mar 2016 21:40:40 +0200 Subject: [PATCH] Adjust ntp for servers hosted at FAN. --- group_vars/fan-rz | 7 +++++++ roles/ntp/handlers/Debian.yml | 1 + roles/ntp/handlers/FreeBSD.yml | 1 + 3 files changed, 9 insertions(+) create mode 100644 group_vars/fan-rz diff --git a/group_vars/fan-rz b/group_vars/fan-rz new file mode 100644 index 0000000..a6819d8 --- /dev/null +++ b/group_vars/fan-rz @@ -0,0 +1,7 @@ +--- + +ntp_servers: +- 0.de.pool.ntp.org +- 1.de.pool.ntp.org +- 2.de.pool.ntp.org +- 3.de.pool.ntp.org diff --git a/roles/ntp/handlers/Debian.yml b/roles/ntp/handlers/Debian.yml index 60816df..4b0629e 100644 --- a/roles/ntp/handlers/Debian.yml +++ b/roles/ntp/handlers/Debian.yml @@ -2,3 +2,4 @@ - name: Restart ntp service: name=ntp state=restarted + tags: ntp diff --git a/roles/ntp/handlers/FreeBSD.yml b/roles/ntp/handlers/FreeBSD.yml index 0904997..0a437dd 100644 --- a/roles/ntp/handlers/FreeBSD.yml +++ b/roles/ntp/handlers/FreeBSD.yml @@ -2,3 +2,4 @@ - name: Restart ntp service: name=ntpd state=restarted + tags: ntp