Download Ansible Playbooks for Confluent Platform

This topic describes how to download Ansible Playbooks for Confluent Platform as the first step in the installation process.

  1. Clone the Ansible Playbooks for Confluent Platform repo:

    git clone https://github.com/confluentinc/cp-ansible
    

    Important

    The cp-ansible directory created with the above command must not have the world-writable permissions (777). Due to a security risk, Ansible will not load the configuration file, ansible.cfg if the file is in the world-writable directory.

    If you do not use git clone, make sure the permissions setting on the cp-ansible source code is 755.

  2. Check out the branch:

    cd cp-ansible
    
    git checkout 6.2.0-post
    

    The master branch in the Ansible GitHub repo is a development branch and not meant for production deployments. Use the specific version branch for production deployments, upgrades, or testing.

    If you are not installing the latest release of Confluent Platform, check out the branch you want to install. For example, if you want to install Confluent Platform 5.5.0, check out the 5.5.0-post branch of the cp-ansible repo.