diff options
-rw-r--r-- | testing/buildbot.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/buildbot.yml b/testing/buildbot.yml index 14ba76a..81c2143 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 }}" |