From b1f5681cccaf27df1e7d6c9f17f4cb9fe4a576d8 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 10 Jan 2019 12:09:27 +0100 Subject: [PATCH] Do not register the same variable twice. --- smartgears/resource_updater/tasks/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/smartgears/resource_updater/tasks/main.yml b/smartgears/resource_updater/tasks/main.yml index af7a445a..20bb22a0 100644 --- a/smartgears/resource_updater/tasks/main.yml +++ b/smartgears/resource_updater/tasks/main.yml @@ -38,7 +38,6 @@ - name: Install the resources updater script become_user: root template: src=resources_updater.sh dest=/usr/local/bin/resources_updater owner=root group=root mode=0755 - register: resource_data_changes - name: Install a cron job that runs the resources updater script cron: name="Resources Updater" special_time=daily job="/usr/local/bin/resources_updater > {{ resource_updater_dest_dir }}/resources_updater.log 2>&1" state=present