Ansible role for installing and configuring Redpanda.
Add the following to a requirements.yml
file:
- src: computology.packagecloud
- src: mrlesmithjr.mdadm
- src: git+https://github.com/vectorizedio/redpanda-ansible
Then execute:
ansible-galaxy install -r requirements.yml
The role assumes that the hosts where Redpanda is running are
provisioned with SSD devices, and available as /dev/nvme0n1
,
/dev/nvme0n2
, etc. In the case of AWS, it is recommended to use
instance type i3.8xlarge
and enable the redpanda_with_raid
variable (see Role Variables below).
- Ansible >= 2.9
- Ubuntu 18.04 on hosts.
redpanda_vectorizedio_packagecloud_token
Required The master token provided by VectorizedIO to https://packagecloud.io.redpanda_with_raid
. Whether to aggregate the local SSD devices in RAID0 configuration (default:true
).redpanda_cluster_id
. ID of the cluster being deployed (default:redpanda
).redpanda_cluster_org_id
. ID of the organization that the cluster belongs to (default:vectorized-customer
).
In addition, the role expects hosts in the inventory to be tagged with
a private_ip
variable that denotes the internal network IP address
assigned to them.
computology.packagecloud
. Installs packages from Packagecloud.mrlesmithjr.mdadm
. Configures RAID.
- hosts: redpanda
roles:
- { role: redpanda, redpanda_with_raid: true }
VectorizedIO dev team