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

osmith gerrit-no-reply at
Wed Mar 10 16:25:52 UTC 2021

osmith has submitted this change. ( )

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.

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

  pespin: Looks good to me, but someone else must approve
  fixeria: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved; Verified

diff --git a/ansible/roles/ntpd/ b/ansible/roles/ntpd/
new file mode 100644
index 0000000..92338c9
--- /dev/null
+++ b/ansible/roles/ntpd/
@@ -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 @@
         - jenkins-slave
+    - name: ntpd
 - name: setup coverity slaves
   hosts: coverity-slaves
   user: root

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I2685e60221b0f3baa3f9e6076c01acf37cd38444
Gerrit-Change-Number: 23315
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at>
Gerrit-Reviewer: fixeria <vyanitskiy at>
Gerrit-Reviewer: osmith <osmith at>
Gerrit-Reviewer: pespin <pespin at>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list