CP-Ansible Playbooks

My CP-Ansible Playbooks

What's currently available

There are playbooks (with instructions) for the following configurations:

Installation

Linux

Follow these steps to install CP-Ansible (on Ubuntu):

ssh -i filenameofyour.pem ubuntu@ec2-xxx-xxx-xxx-xxx.aws-region.compute.amazonaws.com
pip3 install ansible
python3.11 -m pip install --upgrade pip
ansible-galaxy collection install git+https://github.com/confluentinc/cp-ansible.git
ansible-galaxy collection install ansible.posix
ansible-galaxy collection install community.general

For Redhat 9:

ssh -i  filenameofyour.pem ec2-user@ec2-xxx-xxx-xxx-xxx.aws-region.compute.amazonaws.com
# sudo yum install python3 - not necessary, I think?
sudo dnf install ansible-core
ansible-galaxy collection install git+https://github.com/confluentinc/cp-ansible.git
ansible-galaxy collection install ansible.posix
ansible-galaxy collection install community.general

OS X

If you're planning on running CP-Ansible on OS X, follow these steps (using homebrew):

brew install python@3.11 # or python3
brew install ansible
ansible-galaxy collection install git+https://github.com/confluentinc/cp-ansible.git
ansible-galaxy collection install ansible.posix
ansible-galaxy collection install community.general

You may also need to run this after installing python3:

brew postinstall python3

What instances should I use for my target machines?

These playbooks have been tested with the latest version of cp-ansible (7.4.0) and Ubuntu 20.04 on AWS:

Ubuntu 20.04

Redhat 9 has been certified with Confluent Platform 7.4.x+ on AWS:

RHEL 9

Useful reading