Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.

Ansible Playbook for TiDB


Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates.

TiDB-Ansible is a TiDB cluster deployment tool developed by PingCAP, based on Ansible playbook. TiDB-Ansible enables you to quickly deploy a new TiDB cluster which includes PD, TiDB, TiKV, and the cluster monitoring modules.

You can use the TiDB-Ansible configuration file to set up the cluster topology, completing all operation tasks with one click, including:

  • Initializing the system, including creating the user for deployment, setting up the hostname, etc.
  • Deploying the components
  • Rolling update, including module survival detection
  • Cleaning data
  • Cleaning the environment
  • Configuring monitoring modules



TiDB-Ansible is under the Apache 2.0 license.

You can’t perform that action at this time.