forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix the task that removes the old smartgears distributions. See https://support.d4science.org/issues/10711
This commit is contained in:
parent
f3c4c6eb27
commit
7bdfd8ce07
|
@ -19,7 +19,7 @@
|
|||
tags: [ 'smartgears', 'smartgears_distribution', 'tomcat' ]
|
||||
|
||||
- name: Remove the smartgears-distribution files
|
||||
shell: find . -type d -name {{ smartgears_downloads_dir }}/smartgears-distribution-\* -exec rm -fr {} \;
|
||||
shell: find {{ smartgears_downloads_dir }} -type d -name smartgears-distribution-\* -exec rm -fr {} \;
|
||||
when: ( smartgears_download | changed )
|
||||
tags: [ 'smartgears', 'smartgears_distribution', 'tomcat' ]
|
||||
|
||||
|
|
Loading…
Reference in New Issue