Ansible role to install and configure Datastax Distribution of Apache Cassandra.
Note: Recommended Java version is 8
- hosts: dbhost
vars:
cassandra_version: 3.7.0
cassandra_cluster_name: myAwesomeCluster
cassandra_seeds: [ "seedIp1", "seedIp2" ] # List of IP Addresses ONLY
cassandra_listen_address: "{{ ansible_eth0.ipv4.address }}"
cassandra_rpc_address: "{{ ansible_eth0.ipv4.address }}"
roles:
- wunzeco.cassandra
INFO:
If your seed nodes have DNS resolveable FQDNs, you may use **cassandra_seeds_fqdn** (instead of cassandra_seeds).
To run integration tests of this role
kitchen verify && kitchen destroy
Note:
kitchen test
command is not appropriate for this role because both kitchen suites (instances) need to be up and running for all tests to pass.
None