https://github.com/computate-org/computate_zookeeper
https://github.com/computate-org/computate_zookeeper
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/computate-org/computate_zookeeper
- Owner: computate-org
- Created: 2020-12-18T16:28:57.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-05-28T05:14:03.000Z (about 4 years ago)
- Last Synced: 2025-04-09T10:22:56.926Z (about 1 year ago)
- Language: Jinja
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install zookeeper
## Install the latest Python and setup a new Python virtualenv
```bash
sudo yum install -y git python3 python3-pip python3-virtualenv python3-libselinux python3-libsemanage python3-policycoreutils
virtualenv-3 ~/python
source ~/python/bin/activate
echo "source ~/python/bin/activate" | tee -a ~/.bashrc
```
## Install the latest Ansible
```bash
pip install setuptools_rust wheel
pip install --upgrade pip
pip install ansible selinux setools
```
## Install the zookeeper ansible role
### Create a directory for the ansible role.
```bash
install -d ~/.ansible/roles/computate.computate_zookeeper
```
### Clone the zookeeper ansible role.
```bash
git clone git@github.com:computate-org/computate_zookeeper.git ~/.ansible/roles/computate.computate_zookeeper
```
## Run the zookeeper ansible playbook to install the application locally (requires sudo privileges with -K).
```bash
cd ~/.ansible/roles/computate.computate_zookeeper
ansible-playbook -K install.yml
```