diff --git a/tasks/supervisor.yml b/tasks/supervisor.yml index 91d335c..1dce7e9 100644 --- a/tasks/supervisor.yml +++ b/tasks/supervisor.yml @@ -13,7 +13,7 @@ name: "CKAN harvester" minute: "{{ ckan_harvester_cron_min }}" 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 }} + user: "{{ ckan_shell_user }}" state: absent when: ckan_harvester_run tags: [ 'ckan', 'ckan_harvest', 'ckan_harvest_cron' ] @@ -24,7 +24,7 @@ minute: "{{ ckan_harvester_cron_min }}" hour: "{{ ckan_harvester_cron_hour }}" 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 }} + user: "{{ ckan_shell_user }}" state: present disabled: no cron_file: ckan_harvesters