From 0e9b8dfea94926efed0e2d7e25f15c04eb52d523 Mon Sep 17 00:00:00 2001
From: Andrea Dell'Amico <adellam@isti.cnr.it>
Date: Wed, 2 Nov 2016 12:37:49 +0100
Subject: [PATCH] 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.

---
 orientdb/tasks/main.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/orientdb/tasks/main.yml b/orientdb/tasks/main.yml
index 9bf01cc7..7a6f0ad4 100644
--- a/orientdb/tasks/main.yml
+++ b/orientdb/tasks/main.yml
@@ -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