keycloak-scim/.github/scripts/ansible/roles/mvn_ec2_runner
Kamesh Akella 33b3fd313c
Add migration tests for AuroraDB (#31396)
Fixes #31024
Signed-off-by: Kamesh Akella <kamesh.asp@gmail.com>
2024-07-24 16:45:02 +02:00
..
defaults Add Multi-AZ Aurora DB to CI store-integration-tests 2024-02-14 16:51:08 +01:00
tasks Add migration tests for AuroraDB (#31396) 2024-07-24 16:45:02 +02:00
README.md Add Multi-AZ Aurora DB to CI store-integration-tests 2024-02-14 16:51:08 +01:00

Ansible Role mvn_ec2_runner

Ansible role for executing mvn commands against a Keycloak src on a remote node.

Role assumes presence of host inventory file and a matching SSH key for "sudoer" access to the hosts. The hosts are expected to be included in keycloak group.

Parameters

See defaults/main.yml for default values.

Execution

  • mvn_params: The mvn command to execute on the remote nodes.

Other

  • kc_home: Location of the Keycloak src on the remote node.

Example Playbook

An example playbook keycloak.yml that applies the role to hosts in the keycloak group:

- hosts: keycloak
  roles: [mvn]

Run keycloak-benchmark

Run:

ansible-playbook -i ${CLUSTER_NAME}_${REGION}_inventory.yml mvn.yml \
  -e "mvn_params=\"mvn clean install\""