Skip to content

Commit b630b15

Browse files
authored
Merge pull request #503 from vrk-kpa/LIKA-649_remove_xroad_organization_update
LIKA-649: Remove xroad organization update from use
2 parents 66d66a8 + c4d47b4 commit b630b15

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ansible/roles/ckan/tasks/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,12 @@
122122
- name: Ensure harvester cronjob
123123
cron: name="Harvester run" minute="*/15" job="{{ virtualenv }}/bin/ckan --config "{{ ckan_ini }}" harvester run"
124124

125-
- name: Ensure xroad organization data cronjob
126-
cron: name="X-Road organization data update" special_time=daily job="{{ virtualenv }}/bin/ckan --config "{{ ckan_ini }}" xroad update-xroad-organizations"
125+
- name: Remove xroad organization data cronjob
126+
cron:
127+
name: "X-Road organization data update"
128+
special_time: daily
129+
job: "{{ virtualenv }}/bin/ckan --config {{ ckan_ini }} xroad update-xroad-organizations"
130+
state: absent
127131

128132
- name: Ensure tracking cronjob
129133
cron: name="Tracking update" special_time=hourly job="{{ virtualenv }}/bin/ckan --config "{{ ckan_ini }}" tracking update && {{ virtualenv }}/bin/ckan --config "{{ ckan_ini }}" search-index rebuild -r && {{ virtualenv }}/bin/ckan --config "{{ ckan_ini }}" sitesearch rebuild organizations"

0 commit comments

Comments
 (0)