keycloak-scim/.github/scripts/ansible/roles/keycloak_ec2_installer/tasks/install.yml
Ryan Emerson 044d71bd77
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>
2024-10-23 15:19:10 +02:00

36 lines
893 B
YAML

- name: Update system packages on the remote hosts
when: update_system_packages
package:
name: "*"
state: latest
- name: Install Java {{ java_version }} packages on the remote hosts
when: install_java
package:
name:
- "java-{{ java_version }}-openjdk"
- "java-{{ java_version }}-openjdk-devel"
state: present
- name: Install dependencies on the remote hosts
package: name={{item}} state=present
with_items:
- unzip
- name: Create Keycloak src dir
file:
path: "{{ kc_home }}"
state: directory
- name: Install Keycloak src on the remote hosts
unarchive:
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 }}"