make sure the dir exists before we continue

This commit is contained in:
Seth Vidal 2013-05-23 20:57:33 +00:00
parent e916fad549
commit 9a32c715c9

View file

@ -115,6 +115,11 @@
- name: start jenkins itself
action: service name=jenkins state=running
- name: wait for a dir to exist - this is just ugly
shell: while `true`; do [ -d /var/lib/jenkins/plugins/openid/WEB-INF/lib/ ] && break; sleep 5; done
async: 1800
poll: 20
- 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