forked from ISTI-ansible-roles/ansible-roles
Do not register the same variable twice.
This commit is contained in:
parent
913b5a57dd
commit
b1f5681ccc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue