From ebdb5430bc33f3a9aca6510189f4f1bd349f1036 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 23 May 2013 19:57:22 +0000 Subject: [PATCH] Add jenkins hotfix --- handlers/restart_services.yml | 3 +++ playbooks/groups/jenkins-cloud.yml | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml index 8b66e3eba7..11067c64d6 100644 --- a/handlers/restart_services.yml +++ b/handlers/restart_services.yml @@ -29,6 +29,9 @@ - name: restart iptables action: service name=iptables state=restarted +- name: restart jenkins + action: service name=jenkins state=restarted + - name: restart lighttpd action: service name=lighttpd state=restarted diff --git a/playbooks/groups/jenkins-cloud.yml b/playbooks/groups/jenkins-cloud.yml index 65a8feadb5..0c11e61dbb 100644 --- a/playbooks/groups/jenkins-cloud.yml +++ b/playbooks/groups/jenkins-cloud.yml @@ -109,6 +109,12 @@ - name: start jenkins itself action: service name=jenkins state=running + - name: jenkins hotfix big file + copy: src=$item dest=/var/lib/jenkins/plugins/openid/WEB-INF/lib/ group=jenkins mode=655 + with_fileglob: $bigfiles/hotfixes/jenkins/openid/*.jar + notify: + - restart jenkins + handlers: - include: $handlers/restart_services.yml