library/roles/orientdb/tasks/main.yml: Add a task to remove the old hook files.
d4science-ghn-cluster/group_vars/orientdb_dev/orientdb_dev.yml: Add a list of old hook files.
This commit is contained in:
parent
c8463c62a9
commit
31fa85042c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue