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:
Andrea Dell'Amico 2016-11-02 12:37:49 +01:00
parent 7fd6ec13b7
commit 0e9b8dfea9
1 changed files with 2 additions and 0 deletions

View File

@ -35,11 +35,13 @@
- name: Remove the old hook jars
shell: rm {{ orientdb_install_dir }}/lib/{{ item }}
with_items: '{{ orientdb_hooks_to_be_removed | default([]) }}'
tags: [ 'orientdb', 'orientdb_hooks' ]
- name: Fetch and install the hook jars
get_url: url='{{ item }}' dest={{ orientdb_install_dir }}/lib
with_items: '{{ orientdb_hooks_jars | default([]) }}'
notify: Restart orientdb
tags: [ 'orientdb', 'orientdb_hooks' ]
- name: Install the orientdb default settings
template: src=orientdb.default.j2 dest=/etc/default/orientdb owner=root group=root mode=0444