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:
Andrea Dell'Amico 2018-01-04 16:13:11 +01:00
parent f3c4c6eb27
commit 7bdfd8ce07
1 changed files with 1 additions and 1 deletions

View File

@ -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' ]