|  | --- | 
|  | - 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: replication_factor.cql.j2 | 
|  | dest: /tmp/replication_factor.cql | 
|  |  | 
|  | - name: Execute CQL statements | 
|  | shell: "{{ apigee_installation_home }}/apigee-cassandra/bin/cqlsh -f /tmp/replication_factor.cql {{ local_address }} " | 
|  |  | 
|  | - name: Keyspace after modification | 
|  | shell: "{{ apigee_installation_home }}/apigee-cassandra/bin/cqlsh -e 'DESCRIBE KEYSPACE {{ keyspace }}' {{ local_address }} | grep -C3 'CREATE KEYSPACE {{ keyspace }}'" |