From 56121bab36786cf7c3d5a64e09ac69acc5345cc4 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 19 Feb 2024 13:48:39 +0000 Subject: [PATCH 1/2] deployment: Disable GPG check on Step CLI installation --- deployment/site.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deployment/site.yml b/deployment/site.yml index 7036ecd..e7d9b37 100644 --- a/deployment/site.yml +++ b/deployment/site.yml @@ -156,6 +156,10 @@ when: ansible_facts["os_family"] | lower == "redhat" ansible.builtin.package: name: "https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.24.4/step-cli_0.24.4_amd64.rpm" + # FIXME: We see the following error without this: + # Failed to validate GPG signature for step-cli-0.24.4-1.x86_64: + # Package step-cli_0.24.4_amd643z16ickc.rpm is not signed + disable_gpg_check: true state: present - name: Test step From 9a577693b452a46af4cc129fdf1e872c78bdb376 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 19 Feb 2024 13:56:52 +0000 Subject: [PATCH 2/2] docs: Add info on Ansible control host setup --- docs/deployment.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/deployment.md b/docs/deployment.md index 905d71b..44a3202 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -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: