diff --git a/orientdb/tasks/main.yml b/orientdb/tasks/main.yml index 2edec3a..283750e 100644 --- a/orientdb/tasks/main.yml +++ b/orientdb/tasks/main.yml @@ -34,9 +34,13 @@ - name: Fetch and install the hook jars get_url: url='{{ item }}' dest={{ orientdb_install_dir }}/lib - with_items: '{{ orientdb_hooks_jars | default ([]) }}' + with_items: '{{ orientdb_hooks_jars | default([]) }}' notify: Restart orientdb + - name: Remove the old hook jars + file: dest={{ orientdb_install_dir }}/lib/{{ item }} state=absent + with_items: '{{ orientdb_hooks_to_be_removed | default([]) }}' + - name: Install the orientdb default settings template: src=orientdb.default.j2 dest=/etc/default/orientdb owner=root group=root mode=0444 notify: Restart orientdb