Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows keycloak 12 to be installed on Ubuntu 20 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

typhonius
Copy link

@typhonius typhonius commented Dec 28, 2020

  • Allows a configurable timeout for jboss start as it took over 20 minutes on a test install. (This excessive startup time was MySQL operations running to alter tables etc)
  • Allows configurable node mapping for standalone.xml as different versions of Keycloak use different namespaces
  • Ubuntu 20 uses python3-lxml rather than python-xml

My host vars were:

keycloak_version: 12.0.1
keycloak_archive: keycloak-{{ keycloak_version }}.tar.gz
keycloak_url: https://github.com/keycloak/keycloak/releases/download/{{ keycloak_version }}/{{ keycloak_archive }}
keycloak_bind_address: "127.0.0.1"
keycloak_admin_username: "admin"
keycloak_admin_password: "snipped"
keycloak_create_admin: True
keycloak_mysql: True
keycloak_mysql_password: snipped
keycloak_python_lxml: python3-lxml
keycloak_srv_namespace: 'urn:jboss:domain:14.0'
keycloak_sub_namespace: 'urn:jboss:domain:datasources:6.0'
keycloak_jboss_timeout: "3600"

N.B. keycloak_jboss_timeout must be quoted as lxml.etree._setAttributeValue cannot use ints to alter attribute values in the XML.

…rable timeout for jboss start and configurable node mapping for standalone.xml.
Copy link

@ps-ef ps-ef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants