Astra + Ansible

How to leverage Astra with Ansible

Follow me on GitHub

What is Ansible?

Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. It runs on many Unix-like systems, and can configure both Unix-like systems as well as Microsoft Windows.

How do I use Ansible?

I am a mac user with homebrew already installed so installing ansible is as simple as:

>brew install ansible

Next executing ansible playbooks is as easy as:

>ansible-playbook [playbook]

Check Out My GitHub Repo

Before getting started with Astra & Ansible download, fork, or clone my github repo which contains sample ansible playbooks to give you a head start. For the sake of demonstrating each action separately each ability is a separate playbook but you can easily code them into a single playbook to suit your needs.

Working with Ansible Playbooks

There are 2 different Astra APIs. The DevOps API for creating databases, keyspaces, and taking organizational actions. Second, the Data API for creating tables, data, and taking adminstrative actions on databases created with the DevOps API.

What’s Next?

Check out msmygit’s repo for a much deeper dive into Astra + Ansible.

How can I help you with Astra?


Find me over on the Astra Slack to ask me any questions about Astra. Also let’s chat if you have something kewl you did with Astra and you want me to feature it in my blog. Look below or to the right for more ways to find me.