Fix the dataminer tasks, for real.

This commit is contained in:
Andrea Dell'Amico 2018-12-13 12:18:09 +01:00
parent 43c57522f1
commit 087fa532e0
1 changed files with 4 additions and 1 deletions

View File

@ -28,10 +28,13 @@
become_user: "{{ d4science_ansible_become_user | default('root') }}"
template: src=wps-config-fixer.j2 dest=/usr/local/bin/wps-config-fixer owner=root group=root mode=0555
with_items: '{{ tomcat_m_instances }}'
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_config' ]
- name: Fix the WPS config file
shell: /usr/local/bin/wps-config-fixer
# notify: Restart smartgears
notify: Restart smartgears
when: dataminer_force_restart is defined and dataminer_force_restart
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_config' ]
- name: Remove the file that lists the installed algorithms, after an upgrade
file: dest={{ smartgears_user_home }}/wps_algorithms_install_log/already_installed_algorithms.txt state=absent