Add a task to force a dataminer reconfiguration.

This commit is contained in:
Andrea Dell'Amico 2018-12-17 13:21:01 +01:00
parent db534612f0
commit 5048776016
1 changed files with 7 additions and 1 deletions

View File

@ -35,7 +35,13 @@
- name: Fix the WPS config file - name: Fix the WPS config file
shell: /usr/local/bin/wps-config-fixer shell: /usr/local/bin/wps-config-fixer
notify: Restart smartgears notify: Restart smartgears
when: dataminer_force_restart is defined and dataminer_force_restart when: dataminer_updated is changed
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_config' ]
- name: Force the fix of the WPS config file
shell: /usr/local/bin/wps-config-fixer
notify: Restart smartgears
when: dataminer_force_reconfiguration is defined and dataminer_force_reconfiguration
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_config' ] tags: [ 'tomcat', 'dataminer', 'wps', 'wps_config' ]
- name: Remove the file that lists the installed algorithms, after an upgrade - name: Remove the file that lists the installed algorithms, after an upgrade