forked from ISTI-ansible-roles/ansible-roles
d4science-ghn-cluster/orientdb.yml: Add 'serial' and 'max_fail_percentage' to the playbook.
library/roles/orientdb/tasks/main.yml: Add a specific tag for the hooks task.
This commit is contained in:
parent
7fd6ec13b7
commit
0e9b8dfea9
|
@ -35,11 +35,13 @@
|
||||||
- name: Remove the old hook jars
|
- name: Remove the old hook jars
|
||||||
shell: rm {{ orientdb_install_dir }}/lib/{{ item }}
|
shell: rm {{ orientdb_install_dir }}/lib/{{ item }}
|
||||||
with_items: '{{ orientdb_hooks_to_be_removed | default([]) }}'
|
with_items: '{{ orientdb_hooks_to_be_removed | default([]) }}'
|
||||||
|
tags: [ 'orientdb', 'orientdb_hooks' ]
|
||||||
|
|
||||||
- name: Fetch and install the hook jars
|
- name: Fetch and install the hook jars
|
||||||
get_url: url='{{ item }}' dest={{ orientdb_install_dir }}/lib
|
get_url: url='{{ item }}' dest={{ orientdb_install_dir }}/lib
|
||||||
with_items: '{{ orientdb_hooks_jars | default([]) }}'
|
with_items: '{{ orientdb_hooks_jars | default([]) }}'
|
||||||
notify: Restart orientdb
|
notify: Restart orientdb
|
||||||
|
tags: [ 'orientdb', 'orientdb_hooks' ]
|
||||||
|
|
||||||
- name: Install the orientdb default settings
|
- name: Install the orientdb default settings
|
||||||
template: src=orientdb.default.j2 dest=/etc/default/orientdb owner=root group=root mode=0444
|
template: src=orientdb.default.j2 dest=/etc/default/orientdb owner=root group=root mode=0444
|
||||||
|
|
Loading…
Reference in New Issue