Change in osmo-ci[master]: ansible: jenkins-slave: enable ntpd

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Wed Mar 10 16:05:41 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/23315 )


Change subject: ansible: jenkins-slave: enable ntpd
......................................................................

ansible: jenkins-slave: enable ntpd

Enable ntpd to prevent clock difference issues reported by jenkins. I
just saw them appearing with one of the new raspberry pis.

Change-Id: I2685e60221b0f3baa3f9e6076c01acf37cd38444
---
A ansible/roles/ntpd/README.md
A ansible/roles/ntpd/tasks/main.yml
M ansible/setup-jenkins-slave.yml
3 files changed, 13 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/15/23315/1

diff --git a/ansible/roles/ntpd/README.md b/ansible/roles/ntpd/README.md
new file mode 100644
index 0000000..92338c9
--- /dev/null
+++ b/ansible/roles/ntpd/README.md
@@ -0,0 +1 @@
+# Install ntpd for debian
diff --git a/ansible/roles/ntpd/tasks/main.yml b/ansible/roles/ntpd/tasks/main.yml
new file mode 100644
index 0000000..b4ca48f
--- /dev/null
+++ b/ansible/roles/ntpd/tasks/main.yml
@@ -0,0 +1,10 @@
+---
+- name: install ntp from debian
+  apt:
+    name: ntp
+
+- name: start and enable ntp daemon
+  systemd:
+    name: ntp
+    state: started
+    enabled: yes
diff --git a/ansible/setup-jenkins-slave.yml b/ansible/setup-jenkins-slave.yml
index 8565530..07414aa 100644
--- a/ansible/setup-jenkins-slave.yml
+++ b/ansible/setup-jenkins-slave.yml
@@ -42,6 +42,8 @@
       tags:
         - jenkins-slave
 
+    - name: ntpd
+
 - name: setup coverity slaves
   hosts: coverity-slaves
   user: root

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/23315
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I2685e60221b0f3baa3f9e6076c01acf37cd38444
Gerrit-Change-Number: 23315
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210310/b0a2009f/attachment.htm>


More information about the gerrit-log mailing list