Skip to content

Commit

Permalink
Merge pull request #503 from vrk-kpa/LIKA-649_remove_xroad_organizati…
Browse files Browse the repository at this point in the history
…on_update

LIKA-649: Remove xroad organization update from use
  • Loading branch information
Zharktas authored Feb 3, 2025
2 parents 66d66a8 + c4d47b4 commit b630b15
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ansible/roles/ckan/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,12 @@
- name: Ensure harvester cronjob
cron: name="Harvester run" minute="*/15" job="{{ virtualenv }}/bin/ckan --config "{{ ckan_ini }}" harvester run"

- name: Ensure xroad organization data cronjob
cron: name="X-Road organization data update" special_time=daily job="{{ virtualenv }}/bin/ckan --config "{{ ckan_ini }}" xroad update-xroad-organizations"
- name: Remove xroad organization data cronjob
cron:
name: "X-Road organization data update"
special_time: daily
job: "{{ virtualenv }}/bin/ckan --config {{ ckan_ini }} xroad update-xroad-organizations"
state: absent

- name: Ensure tracking cronjob
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"
Expand Down

0 comments on commit b630b15

Please sign in to comment.