forked from ISTI-ansible-roles/ansible-roles
Fix the dataminer tasks, for real.
This commit is contained in:
parent
43c57522f1
commit
087fa532e0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue