From 34ed959f953add2aaa992f2976864001b74dfb5e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 15 Jun 2015 20:21:54 +0000 Subject: [PATCH] Add a wait_for here so the path exists. --- playbooks/groups/jenkins-cloud.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/playbooks/groups/jenkins-cloud.yml b/playbooks/groups/jenkins-cloud.yml index 1a836337d6..2399dbadb8 100644 --- a/playbooks/groups/jenkins-cloud.yml +++ b/playbooks/groups/jenkins-cloud.yml @@ -228,6 +228,13 @@ - meta: flush_handlers +# +# We have to wait here because if jenkins is restarting it takes a while to unpack all the +# plugins and create the directory we use below to sync the hotfix versions over the plugin versions +# for the openid pluin. +# + - wait_for: path=/var/lib/jenkins/plugins/openid/WEB-INF/lib/ + - name: jenkins hotfix big file synchronize: src="{{ bigfiles }}/hotfixes/jenkins/openid/" dest=/var/lib/jenkins/plugins/openid/WEB-INF/lib/ notify: