removed unused template
diff --git a/tasks/main.yml b/tasks/main.yml
index 7d7f982..09fcbd4 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -10,11 +10,6 @@
     msg: Please indicate the replication_factor to use
   when: replication_factor is not defined
 
-- name: Validate that local_quorum is provided
-  fail:
-    msg: Please indicate whether local_quorum yes or no
-  when: local_quorum is not defined
-
 - include: keyspace.yml
   with_items:  '{{ keyspaces }}'
   loop_control:
diff --git a/tasks/quorum.yml b/tasks/quorum.yml
index 1627053..1ab0827 100644
--- a/tasks/quorum.yml
+++ b/tasks/quorum.yml
@@ -1,4 +1,20 @@
 ---
+
+- name: Validate that local_quorum is provided
+  fail:
+    msg: Please indicate whether local_quorum yes or no
+  when: local_quorum is not defined
+
+- name: Set consistency when local_quorum is set
+  set_facts:
+    consistency: LOCAL_QUORUM
+  when: local_quorum is defined and local_quorum | bool(true)
+
+- name: Set consistency when local_quorum is not set
+  set_facts:
+    consistency: QUORUM
+  when: local_quorum | default(false)
+
 - name: Construct CQL file
   template:
     src: quorum.cql.j2