# Cassandra - CQL execution from Ansible

**URL:** <https://forum.ansible.com/t/cassandra-cql-execution-from-ansible/27824>\
**Category:** Ansible Project\
**Created:** [June 19, 2018, 7:13pm UTC](https://forum.ansible.com/t/cassandra-cql-execution-from-ansible/27824 "2018-06-19T19:13:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anumodmullacheryc](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@anumodmullacheryc](https://forum.ansible.com/u/anumodmullacheryc)\
**Post date:** [June 19, 2018, 7:13pm UTC](https://forum.ansible.com/t/cassandra-cql-execution-from-ansible/27824/1 "2018-06-19T19:13:46Z")

</div>

Hi All,

I’m using ansible for CQL automation for cassandra.

I want to execute CQL scripts (Mainly DDL) from ansible.

I would like to know , how I establish the connection to the cassandra cluster (cql - cassandra node) and how will I execute cql scripts on that node.

Help on this regards will be very helpful.

thanks.  
Anumod.
