From 70607187618c04a9a63a2183b226033612001fe2 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 15 Dec 2021 16:49:22 +0100 Subject: [PATCH] Protect a character. --- tasks/supervisor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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