updated consistency usage
diff --git a/tasks/keyspace.yml b/tasks/keyspace.yml
index 480df90..01d7811 100644
--- a/tasks/keyspace.yml
+++ b/tasks/keyspace.yml
@@ -4,7 +4,7 @@
- name: Construct CQL file
template:
- src: replication_factor.cql.j2
+ src: update_replication_factor.cql.j2
dest: /tmp/replication_factor.cql
- name: Execute CQL statements
diff --git a/templates/replication_factor.cql.j2 b/templates/update_replication_factor.cql.j2
similarity index 75%
rename from templates/replication_factor.cql.j2
rename to templates/update_replication_factor.cql.j2
index 181a6a2..c883e60 100644
--- a/templates/replication_factor.cql.j2
+++ b/templates/update_replication_factor.cql.j2
@@ -1 +1,3 @@
+USE {{ keyspace }};
+CONSISTENCY {{ consistency }};
ALTER KEYSPACE {{ keyspace }} WITH REPLICATION = { 'class': 'NetworkTopologyStrategy', 'dc-1': {{ replication_factor }}, 'dc-2': {{ replication_factor }} };