Keycloak
Ansible Role keycloak_ec2_installer
Ansible role for installing Keycloak sources and build dependencies on remote nodes.
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
group.
Parameters
See
for default values.
Execution
: Path to a localkeycloak_src
file containing the Keycloak src*.zip
Other
: Whether to update the system packages. Defaults toupdate_system_packages
.no
: Whether to install OpenJDK on the system. Defaults toinstall_java
.yes
: Version of OpenJDK to be installed. Defaults tojava_version
.17
Example Playbook
An example playbook
that applies the role to hosts in the
group:
- hosts: keycloak
roles: [keycloak]
Run keycloak-benchmark
Run:
ansible-playbook -i ${CLUSTER_NAME}_${REGION}_inventory.yml keycloak.yml \
-e "keycloak_src=\"/tmp/keycloak.zip\""