From ee15692c0f58e7d0641f0c8368311ddbaa1865c9 Mon Sep 17 00:00:00 2001 From: desmax74 Date: Wed, 25 Sep 2024 21:12:48 +0200 Subject: [PATCH] fixed Signed-off-by: desmax74 --- README.md | 4 ++-- roles/tpa_single_node/tasks/main.yml | 4 ++-- roles/tpa_single_node/vars/main.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c43f2cb7..7458434d 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Utilize the steps below to understand how to setup and execute the provisioning. ## Prerequisites -A RHEL 9.2+ server should be used to run the Trustification components. +A RHEL 9.3+ server should be used to run the Trustification components. Ansible must be installed and configured on a control node that will be used to perform the automation. @@ -49,7 +49,7 @@ An installation of RH SSO/Keycloak/AWS Cognito must be provided to allow for int #### https://docs.ansible.com/ansible/2.9/scenario_guides/guide_vagrant.html -In order to deploy Trustification on a RHEL 9.2+ VM: +In order to deploy Trustification on a RHEL 9.3+ VM: 1. Create an `inventory.ini` file in the project with a single VM in the `trustification` group: diff --git a/roles/tpa_single_node/tasks/main.yml b/roles/tpa_single_node/tasks/main.yml index c827bf3b..8fe985b6 100644 --- a/roles/tpa_single_node/tasks/main.yml +++ b/roles/tpa_single_node/tasks/main.yml @@ -1,5 +1,5 @@ --- -- name: Set a variable if is not a Rhel as expected +- name: Set a variable about Rhel ansible.builtin.set_fact: rhel: false @@ -9,7 +9,7 @@ when: - ansible_facts['distribution'] == 'RedHat' - ansible_facts['distribution_major_version'] == '9' - - ansible_facts['distribution_minor_version'] == '2' + - ansible_facts['distribution_version'] == '9.3' - name: Install Operating System Components ansible.builtin.include_tasks: os.yml diff --git a/roles/tpa_single_node/vars/main.yml b/roles/tpa_single_node/vars/main.yml index c829201b..8fd39144 100644 --- a/roles/tpa_single_node/vars/main.yml +++ b/roles/tpa_single_node/vars/main.yml @@ -19,8 +19,8 @@ tpa_single_node_pg_user_passwd: guac1234 tpa_single_node_pg_ssl_mode: disable # Storage Service (S3 or Minio) -tpa_single_node_storage_endpoint: # -tpa_single_node_storage_region: # # For Minio just keep us-west-1 +tpa_single_node_storage_endpoint: https://minio-route-ansible-test.apps.tpa1.tpa.rhocf-dev.net # +tpa_single_node_storage_region: us-west-1 # # For Minio just keep us-west-1 tpa_single_node_storage_access_key: "{{ lookup('env', 'TPA_STORAGE_ACCESS_KEY') }}" tpa_single_node_storage_secret_key: "{{ lookup('env', 'TPA_STORAGE_SECRET_KEY') }}" tpa_single_node_storage_bombastic_bucket: bombastic-default #