An opinionated Ansible Role to install and configure YugabyteDB.
- By default, uses a replication factor of 3.
- PostgreSQL is configured.
- Cassandra is configured.
- YEDIS is not configured. More information: YEDIS
Given that YEDIS is not a focus, it must be viewed as a deprecated API for new application development purposes.
Please refer to the defaults file for an up to date list of input parameters.
By default this role does not depend on any external roles.
If any such dependency is required please add them according to the documentation
Inventory
In order for the playbook to work, you need to have the following structure on your inventory:
yb_nodes:
children:
yb_master:
yb_tserver:
yb_master:
hosts:
host_01:
host_02:
host_03:
yb_tserver:
hosts:
host_01:
host_02:
host_03:
main.yml
- name: Yugabyte Ansible Role
become: true
gather_facts: true
hosts: yb_nodes
order: sorted
roles:
- role: "mlstm.yb" # Not available yet
Run playbook:
ansible-playbook -i inventory/example main.yml -e address_type=hostname
This project is licensed under the terms of the MIT License