Switch collection dep from jcliff to wildfly

main
Guido Grazioli 2021-12-30 12:24:46 +01:00
parent d663dea5c9
commit daa5396a47
4 changed files with 11 additions and 4 deletions

View File

@ -15,7 +15,7 @@ tags:
- sso - sso
dependencies: dependencies:
"middleware_automation.redhat_csp_download": ">=1.2.1" "middleware_automation.redhat_csp_download": ">=1.2.1"
"middleware_automation.jcliff": ">=0.0.19" "middleware_automation.wildfly": ">=0.0.4"
repository: https://github.com/ansible-middleware/keycloak repository: https://github.com/ansible-middleware/keycloak
documentation: https://github.com/ansible-middleware/keycloak documentation: https://github.com/ansible-middleware/keycloak
homepage: https://github.com/ansible-middleware/keycloak homepage: https://github.com/ansible-middleware/keycloak

View File

@ -4,6 +4,12 @@ keycloak
Install [keycloak](https://keycloak.org/) or [Red Hat Single Sing-On](https://access.redhat.com/products/red-hat-single-sign-on) server configurations. Install [keycloak](https://keycloak.org/) or [Red Hat Single Sing-On](https://access.redhat.com/products/red-hat-single-sign-on) server configurations.
Requirements
------------
This role requires the `python3-netaddr` library installed on the controller node.
Role Defaults Role Defaults
------------- -------------
@ -20,6 +26,7 @@ Role Defaults
|`keycloak_management_https_port`| TLS management port | `9993` |`keycloak_management_https_port`| TLS management port | `9993`
|`keycloak_java_opts`| | `-Xms1024m -Xmx20480m -XX:MaxPermSize=768m` |`keycloak_java_opts`| | `-Xms1024m -Xmx20480m -XX:MaxPermSize=768m`
Role Variables Role Variables
-------------- --------------
@ -65,7 +72,7 @@ Dependencies
The roles depends on: The roles depends on:
* the redhat_csp_download role from [middleware_automation.redhat_csp_download](https://github.com/ansible-middleware/redhat-csp-download) collection * the redhat_csp_download role from [middleware_automation.redhat_csp_download](https://github.com/ansible-middleware/redhat-csp-download) collection
* the wildfly_driver role from [middleware_automation.jcliff](https://github.com/ansible-middleware/ansible_collections_jcliff) collection * the wildfly_driver role from [middleware_automation.wildfly](https://github.com/ansible-middleware/wildfly) collection
Example Playbook Example Playbook

View File

@ -1,7 +1,7 @@
--- ---
collections: collections:
- middleware_automation.redhat_csp_download - middleware_automation.redhat_csp_download
- middleware_automation.jcliff - middleware_automation.wildfly
galaxy_info: galaxy_info:
role_name: keycloak role_name: keycloak

View File

@ -64,5 +64,5 @@
url: "{{ health_url }}" url: "{{ health_url }}"
register: keycloak_status register: keycloak_status
until: keycloak_status.status == 200 until: keycloak_status.status == 200
retries: 20 retries: 25
delay: 10 delay: 10