This repository contains Ansible configurations, playbooks, and roles designed to automate and manage various infrastructure components. Presently, its main focus is on ClickHouse role management. Over time, I anticipate adding more roles and playbooks to provide a comprehensive suite of infrastructure automation tools.
ansible/
├── inventory/ # Houses Ansible inventory files
├── playbooks/ # Playbooks for diverse automation tasks
└── roles/ # Ansible roles for various components
└── clickhouse/ # Role dedicated to ClickHouse role management
└── hadoop/ # Role for deploying HA Hadoop cluster
This role is tailored for managing roles within ClickHouse. It facilitates the creation, deletion, and privilege granting for roles. For an in-depth understanding, refer to the ClickHouse role's README.
This role is tailored for setting up a High Availability Hadoop cluster. It manages the installation of Hadoop, setting up the master and worker nodes, and ensures the environment is correctly configured for a HA Hadoop setup. For a detailed overview and configuration guide, check out the Hadoop role's README.
-
Set Up Your Inventory
Modify the files within the
inventory/
directory to match your infrastructure. -
Execute a Playbook
From the
playbooks/
directory:ansible-playbook -i ../inventory/your-inventory-file.yml your-playbook-file.yml