From 1136496a08b50a19871503f612ce3d030cc92d15 Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Wed, 5 Mar 2014 09:53:00 +0300 Subject: buildbot: (re)start automatically after setup --- testing/buildbot.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testing') diff --git a/testing/buildbot.yml b/testing/buildbot.yml index 14ba76a7..81c2143d 100644 --- a/testing/buildbot.yml +++ b/testing/buildbot.yml @@ -61,6 +61,8 @@ - name: set contact details of the buildbot owner copy: dest="{{ work }}/info/admin" content="{{ maintainer }}" + notify: + - restart buildbot - name: update host information copy: dest="{{ work }}/info/host" @@ -68,3 +70,11 @@ {{'\n'}}{{ansible_machine}} {{'\n'}}{{ansible_memtotal_mb}}MB RAM {{'\n'}}Python {{ansible_python_version}}" + notify: + - restart buildbot + + handlers: + - name: restart buildbot + command: "{{ venv }}/bin/buildslave restart {{ work }}" + sudo: yes + sudo_user: "{{ botuser }}" -- cgit v1.2.1