fixed typo
diff --git a/tasks/keyspace.yml b/tasks/keyspace.yml index e5eb1ab..31a24ba 100644 --- a/tasks/keyspace.yml +++ b/tasks/keyspace.yml
@@ -1,17 +1,17 @@ --- -- name: Keyspace before modification - shell: "{{ apigee_installation_home }}/apigee-cassandra/bin/cqlsh -e 'DESCRIBE KEYSPACE {{ keyspace }}' {{ local_address }} | grep -C3 'CREATE KEYSPACE {{ keyspace }}'" - - name: Set consistency to TWO to prepare for replication factor update set_fact: consistency: "TWO" +- name: Keyspace before modification + shell: "{{ apigee_installation_home }}/apigee-cassandra/bin/cqlsh -e 'DESCRIBE KEYSPACE {{ keyspace }}' {{ local_address }} | grep -C3 'CREATE KEYSPACE {{ keyspace }}'" + - name: Construct CQL file template: src: update_replication_factor.cql.j2 dest: /tmp/replication_factor.cql -- name: Execute CQL statements +- name: Execute replication factor update shell: "{{ apigee_installation_home }}/apigee-cassandra/bin/cqlsh -f /tmp/replication_factor.cql {{ local_address }} " - name: Keyspace after modification