Do not register the same variable twice.

This commit is contained in:
Andrea Dell'Amico 2019-01-10 12:09:27 +01:00
parent 913b5a57dd
commit b1f5681ccc
1 changed files with 0 additions and 1 deletions

View File

@ -38,7 +38,6 @@
- name: Install the resources updater script - name: Install the resources updater script
become_user: root become_user: root
template: src=resources_updater.sh dest=/usr/local/bin/resources_updater owner=root group=root mode=0755 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 - 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 cron: name="Resources Updater" special_time=daily job="/usr/local/bin/resources_updater > {{ resource_updater_dest_dir }}/resources_updater.log 2>&1" state=present