Skip to content

Installs and Configures Cassandra (DataStax Community Edition)

Notifications You must be signed in to change notification settings

mootezbessifi/ansible-cassandra

 
 

Repository files navigation

Cassandra

Ansible role to install and configure Datastax Distribution of Apache Cassandra.

Note: Recommended Java version is 8

Examples

- 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).

Testing

To run integration tests of this role

PLATFORM=ubuntu                              # OR centos
kitchen verify $PLATFORM && kitchen destroy $PLATFORM

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.

Dependencies:

None

About

Installs and Configures Cassandra (DataStax Community Edition)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%