Update jenkins playbook to clean before deploy

This commit is contained in:

View file

@ -86,6 +86,12 @@
tags:
- config
- name: make sure jenkins is stopped
action: service name=jenkins state=stopped
- name: clean any previous plugin deployments
action: file state=absent path=/var/lib/jenkins/plugins
- name: mkdir dir for jenkins data
action: file state=directory path=/var/lib/jenkins/plugins/ owner=jenkins group=jenkins