Aurora IT tests failing periodically with download of node (#34107)

Closes #33767
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Ryan Emerson <remerson@redhat.com>
This commit is contained in:
Ryan Emerson
2024-10-23 14:19:10 +01:00
committed by GitHub
parent 358d234538
commit 044d71bd77
6 changed files with 41 additions and 17 deletions

View File

@@ -9,6 +9,8 @@ fi
REGION=$1
CLUSTER_NAME=$2
KEYCLOAK_SRC=$3
MAVEN_ARCHIVE=$4
ansible-playbook -i ${CLUSTER_NAME}_${REGION}_inventory.yml keycloak.yml \
-e "keycloak_src=\"${KEYCLOAK_SRC}\""
-e "keycloak_src=\"${KEYCLOAK_SRC}\"" \
-e "maven_archive=\"${MAVEN_ARCHIVE}\""

View File

@@ -2,6 +2,7 @@
ansible_ssh_user: ec2-user
# Workspace on the remote hosts
kc_home: /opt/keycloak
m2_home: ~/.m2
update_system_packages: no
install_java: yes
java_version: 21

View File

@@ -27,3 +27,10 @@
src: "{{ keycloak_src }}"
dest: "{{ kc_home }}"
owner: "{{ ansible_ssh_user }}"
- name: Install Maven repository on the remote hosts
unarchive:
src: "{{ maven_archive }}"
creates: "{{ kc_home }}"
dest: "{{ kc_home }}"
owner: "{{ ansible_ssh_user }}"