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