Skip to content

Commit

Permalink
docs: Add info on Ansible control host setup
Browse files Browse the repository at this point in the history
  • Loading branch information
markgoddard committed Feb 19, 2024
1 parent 56121ba commit 9a57769
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,32 @@ step-ca

Some variables are provided to configure the deployment in the [group_vars](https://github.com/stackhpc/reductionist-rs/tree/main/deployment/group_vars) directory. Reductionist configuration options may be specified using environment variables.

## Ansible control host setup

Whether running Ansible on the same host as the Reductionist server(s) or a separate remote host, some setup is necessary.

Ensure Git and Pip are installed:
```sh
sudo apt -y install git python3-pip # Ubuntu
sudo dnf -y install git python3-pip # CentOS Stream or Rocky Linux
```

Clone the Reductionist source code:
```sh
git clone https://github.com/stackhpc/reductionist-rs
```

Change to the Reductionist source code directory:
```sh
cd reductionist-rs
```

When working with Pip it's generally best to install packages into a virtual environment, to avoid modifying the system packages.
```sh
python3 -m venv venv
source venv/bin/activate
```

## Installation

Install Python dependencies:
Expand Down

0 comments on commit 9a57769

Please sign in to comment.