platform

2Modules12Roles14Plugins1Dependency

Overview

Description

Confluent Platform Ansible Collection (https://github.com/confluentinc/cp-ansible)

Readme

CP-Ansible

Description

Ansible provides a simple way to deploy, manage, and configure the Confluent Platform services. This repository provides playbooks and templates to easily spin up a Confluent Platform installation. Specifically this repository:

  • Installs Confluent Platform packages or archive.
  • Starts services using systemd scripts.
  • Provides configuration options for many security options including encryption, authentication, and authorization.

The services that can be installed from this repository are:

  • Kraft Controller (or Kafka Controller)
  • Kafka
  • Schema Registry
  • REST Proxy
  • Confluent Control Center
  • Kafka Connect (distributed mode)
  • KSQL Server
  • Replicator

Requirements

Prerequisites for installing CP can be found at General Requirements.

Installation

Red Hat customers can install this collection from Ansible Automation Hub.

Non Red Hat customers can install this collection from Ansible Galaxy.

For detailed instructions, follow Download Ansible Playbooks for Confluent Platform.

As an alternative to the recommended methods above, non-RedHat customers can also install the package directly from the source repository.

  • Create a directory with the following structure:
    mkdir -p <path_to_cp-ansible>/ansible_collections/confluent/

You can put anywhere in your directory structure, but the directory structure under should be set up exactly as specified above.

  • Clone the Ansible Playbooks for Confluent Platform repo into the platform directory inside the directory you created in the previous step:
    git clone https://github.com/confluentinc/cp-ansible <path_to_cp-ansible>/ansible_collections/confluent/platform

Use Cases

Ansible Playbooks for Confluent Platform (Confluent Ansible) offers a simplified way to configure and deploy Confluent Platform.

Testing

CP-Ansible's tests use the Molecule framework, and it is strongly advised to test this way before submitting a Pull Request. Please refer to the HOW_TO_TEST.md

Contributing

If you would like to contribute to the CP-Ansible project, please refer to the CONTRIBUTE.md

Support

For any support request, please reach out to Confluent Support Portal.

Release Notes

This page summarizes the technical details of the Confluent releases.

License

Apache 2.0

Certification

Product
Red Hat Ansible Automation Platform 2.4
Red Hat Ansible Automation Platform 2.5
DocumentationDependencies

This collection requires the following collections for use:

NameSummary
No dependencies
This collection is not being used by other collections.
View in Automation Hub
Red Hat logoLinkedInYouTubeFacebookTwitter

Platforms

Products & services

Try, buy, sell

Help

About Red Hat Ecosystem Catalog

The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2025 Red Hat