diff --git a/tasks/supervisor.yml b/tasks/supervisor.yml index 367dc4c..91d335c 100644 --- a/tasks/supervisor.yml +++ b/tasks/supervisor.yml @@ -12,7 +12,7 @@ ansible.builtin.cron: name: "CKAN harvester" minute: "{{ ckan_harvester_cron_min }}" - job: "{{ ckan_virtenv }}/bin/paster --plugin=ckanext-harvest harvester run --config={{ ckan_config_file }} > {{ ckan_logdir }}/harvester_run.log 2>&1" + job: "{{ ckan_virtenv }}/bin/paster --plugin{% raw %}={% endraw %}ckanext-harvest harvester run --config{% raw %}={% endraw %}{{ ckan_config_file }} > {{ ckan_logdir }}/harvester_run.log 2>&1" user: {{ ckan_shell_user }} state: absent when: ckan_harvester_run @@ -23,7 +23,7 @@ name: "CKAN harvester" minute: "{{ ckan_harvester_cron_min }}" hour: "{{ ckan_harvester_cron_hour }}" - job: "{{ ckan_virtenv }}/bin/paster --plugin=ckanext-harvest harvester run --config={{ ckan_config_file }} > {{ ckan_logdir }}/harvester_run.log 2>&1" + job: "{{ ckan_virtenv }}/bin/paster --plugi{% raw %}n={% endraw %}ckanext-harvest harvester run --config{% raw %}={% endraw %}{{ ckan_config_file }} > {{ ckan_logdir }}/harvester_run.log 2>&1" user: {{ ckan_shell_user }} state: present disabled: no