forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Install a cron job that performs a 'svn update' of the algorithms repository.
This commit is contained in:
parent
7b916e8fc1
commit
62deaafb2c
|
@ -16,6 +16,9 @@
|
|||
- name: Download the WPS algorithms from subversion
|
||||
subversion: repo={{ dataminer_wps_algorithms_svn }} dest={{ smartgears_user_home }}/wps_algorithms/algorithms checkout=yes force=yes update=yes
|
||||
|
||||
- name: Cron job that updates the algorithms repository
|
||||
cron: name="SVN update the algorithms repository" minute="*/10" job="cd {{ smartgears_user_home }}/wps_algorithms/algorithms ; svn update > {{ smartgears_user_home }}/algorithms_updater.log 2>&1" user='{{ smartgears_user }}' state=present
|
||||
|
||||
- name: Create a directory where to install the gebco_08.nc data file
|
||||
file: path={{ smartgears_user_home }}/data state=directory
|
||||
|
||||
|
|
Loading…
Reference in New Issue