From ece982169093aa7d29305533764d4936b4c3a1e3 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 1 Oct 2014 17:54:10 +0200 Subject: [PATCH] The cron job is a file not a template --- roles/anitya/backend/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/anitya/backend/tasks/main.yml b/roles/anitya/backend/tasks/main.yml index 7b917f44bb..0caf67986e 100644 --- a/roles/anitya/backend/tasks/main.yml +++ b/roles/anitya/backend/tasks/main.yml @@ -103,7 +103,7 @@ - anitya_backend - name: Install the cron job - template: src={{ item.file }} + copy: src={{ item.file }} dest={{ item.location }}/{{ item.file }} with_items: - { file: 'anitya.cron', location: /etc/cron.d }