Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

3/19/2021

Reading time:1 min

ansible-collections/community.cassandra

by ansible-collections

This collection called cassandra aims at providing all Ansible modules allowing to interact with Apache Cassandra.As this is an independent Collection, it can be released on it's own release cadance.If you like this collection please give us a rating on Ansible Galaxy.GitHub workflowMaintainers would be members of this GitHub Repo.Branch protections could be used to enforce 1 (or 2) reviews from relevant maintainers CODEOWNERSContributingAny contribution is welcome and we only ask contributors to:Provide at least integration tests for any contribution.Create an issues for any significant contribution that would change a large portion of the code base.Running integration tests locallyClone the collection git project. The ansible-test tool requires a specific directory setup to function correctly so please follow carefully.cd && mkdir -p git/ansible_collections/communitygit clone https://github.com/ansible-collections/community.cassandra.git ./ansible_collections/community/cassandracd ./git/ansible_collections/community/cassandraCreate a virtual environmentvirtualenv venvsource venv/bin/activatepip install -r requirements-3.6.txtRun all testsansible-test integration --docker ubuntu1804 -v --color --python 3.6Run tests just for the cassandra_role moduleansible-test integration --docker ubuntu1804 -v --color --python 3.6 cassandra_roleLicenseGNU General Public License v3.0 or laterSee LICENCING to see the full text.

Illustration Image

CI CI_roles documentation Codecov Build & Publish Collection

This collection called cassandra aims at providing all Ansible modules allowing to interact with Apache Cassandra.

As this is an independent Collection, it can be released on it's own release cadance.

If you like this collection please give us a rating on Ansible Galaxy.

GitHub workflow

  • Maintainers would be members of this GitHub Repo.
  • Branch protections could be used to enforce 1 (or 2) reviews from relevant maintainers CODEOWNERS

Contributing

Any contribution is welcome and we only ask contributors to:

  • Provide at least integration tests for any contribution.
  • Create an issues for any significant contribution that would change a large portion of the code base.

Running integration tests locally

Clone the collection git project. The ansible-test tool requires a specific directory setup to function correctly so please follow carefully.

cd && mkdir -p git/ansible_collections/community
git clone https://github.com/ansible-collections/community.cassandra.git ./ansible_collections/community/cassandra
cd ./git/ansible_collections/community/cassandra

Create a virtual environment

virtualenv venv
source venv/bin/activate
pip install -r requirements-3.6.txt

Run all tests

ansible-test integration --docker ubuntu1804 -v --color --python 3.6

Run tests just for the cassandra_role module

ansible-test integration --docker ubuntu1804 -v --color --python 3.6 cassandra_role

License

GNU General Public License v3.0 or later

See LICENCING to see the full text.

Related Articles

cluster
troubleshooting
datastax

GitHub - arodrime/Montecristo: Datastax Cluster Health Check Tooling

arodrime

4/3/2024

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

cassandra