keycloak-scim/.github/scripts/ansible/roles/mvn_ec2_runner
Ryan Emerson 870befa422 Specify ansible shell executable as child of args element. Fixes #27133
Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-02-19 19:07:24 +01:00
..
defaults Add Multi-AZ Aurora DB to CI store-integration-tests 2024-02-14 16:51:08 +01:00
tasks Specify ansible shell executable as child of args element. Fixes #27133 2024-02-19 19:07:24 +01: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\""