summaryrefslogtreecommitdiff
path: root/roles/common-linux
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common-linux')
-rw-r--r--roles/common-linux/files/ntp.conf29
-rw-r--r--roles/common-linux/tasks/main.yml3
-rw-r--r--roles/common-linux/tasks/ntp.yml10
3 files changed, 0 insertions, 42 deletions
diff --git a/roles/common-linux/files/ntp.conf b/roles/common-linux/files/ntp.conf
deleted file mode 100644
index 6aee0df..0000000
--- a/roles/common-linux/files/ntp.conf
+++ /dev/null
@@ -1,29 +0,0 @@
-driftfile /var/lib/ntp/ntp.drift
-statsdir /var/log/ntpstats/
-
-statistics loopstats peerstats clockstats
-filegen loopstats file loopstats type day enable
-filegen peerstats file peerstats type day enable
-filegen clockstats file clockstats type day enable
-
-# Unser Zeitserver
-server 141.20.1.120 prefer # timehost.rz.hu-berlin.de
-
-# Stratum-2-Server
-server 0.de.pool.ntp.org
-server 1.de.pool.ntp.org
-server 2.de.pool.ntp.org
-server 3.de.pool.ntp.org
-
-# Fallback: die eigene Uhr (mit stratum 10 kuenstlich schlecht gemacht)
-server 127.127.1.0 # local clock
-fudge 127.127.1.0 stratum 10
-
-# By default, exchange time with everybody, but don't allow configuration.
-restrict -4 default kod notrap nomodify nopeer noquery
-restrict -6 default kod notrap nomodify nopeer noquery
-
-# Local users may interrogate the ntp server more closely.
-restrict 127.0.0.1
-restrict ::1
-
diff --git a/roles/common-linux/tasks/main.yml b/roles/common-linux/tasks/main.yml
index 35d9fde..5813a63 100644
--- a/roles/common-linux/tasks/main.yml
+++ b/roles/common-linux/tasks/main.yml
@@ -1,4 +1,3 @@
-
- name: set hostname
hostname:
name: '{{ inventory_hostname }}'
@@ -20,8 +19,6 @@
- import_tasks: git.yml
-- import_tasks: ntp.yml
-
- name: mkdir ~/code
file:
path: /home/horus/code
diff --git a/roles/common-linux/tasks/ntp.yml b/roles/common-linux/tasks/ntp.yml
deleted file mode 100644
index 603b456..0000000
--- a/roles/common-linux/tasks/ntp.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-- name: install ntp
- apt:
- name:
- - 'ntp'
-
-- name: ntp.conf
- copy:
- src: ntp.conf
- dest: /etc/ntp.conf
- notify: restart ntpd