wunzeco.cassandra
Cassandra
Ansible role for installing and setting up Apache Cassandra.
Important Notes:
- Use Java version 8.
- Datastax community edition is no longer supported.
- The recommended
cassandra_distro
isapache
.- The
ddc cassandra_distro
will be phased out soon.
Usage Examples
- hosts: dbhost
vars:
cassandra_distro: apache
cassandra_version: 3.11.2
cassandra_cluster_name: myAwesomeCluster
cassandra_seeds: [ "seedIp1", "seedIp2" ] # Only use IP addresses
cassandra_listen_address: "{{ ansible_eth0.ipv4.address }}"
cassandra_rpc_address: "{{ ansible_eth0.ipv4.address }}"
roles:
- wunzeco.cassandra
Note:
If your seed nodes have fully qualified domain names (FQDN), use cassandra_seeds_fqdn instead of cassandra_seeds.
Testing
To perform integration tests for this role:
PLATFORM=ubuntu-1404 # other options include ubuntu-1604 or centos
kitchen verify $PLATFORM && kitchen destroy $PLATFORM
Note: The
kitchen test
command is not suitable for this role because both kitchen suites (instances) need to be active for all tests to succeed.
Dependencies:
None
Informazioni sul progetto
Installs and Configures Cassandra (DataStax Community Edition)
Installa
ansible-galaxy install wunzeco.cassandra
Licenza
Unknown
Download
4.4k
Proprietario