From daa5396a472418ebecc3b72247b69aa853469c29 Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Thu, 30 Dec 2021 12:24:46 +0100 Subject: [PATCH] Switch collection dep from jcliff to wildfly --- galaxy.yml | 2 +- roles/keycloak/README.md | 9 ++++++++- roles/keycloak/meta/main.yml | 2 +- roles/keycloak/tasks/systemd.yml | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index b77e86a..8b14734 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -15,7 +15,7 @@ tags: - sso dependencies: "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 documentation: https://github.com/ansible-middleware/keycloak homepage: https://github.com/ansible-middleware/keycloak diff --git a/roles/keycloak/README.md b/roles/keycloak/README.md index 7af9872..8a79a67 100644 --- a/roles/keycloak/README.md +++ b/roles/keycloak/README.md @@ -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. +Requirements +------------ + +This role requires the `python3-netaddr` library installed on the controller node. + + Role Defaults ------------- @@ -20,6 +26,7 @@ Role Defaults |`keycloak_management_https_port`| TLS management port | `9993` |`keycloak_java_opts`| | `-Xms1024m -Xmx20480m -XX:MaxPermSize=768m` + Role Variables -------------- @@ -65,7 +72,7 @@ Dependencies 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 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 diff --git a/roles/keycloak/meta/main.yml b/roles/keycloak/meta/main.yml index ec98655..8729169 100644 --- a/roles/keycloak/meta/main.yml +++ b/roles/keycloak/meta/main.yml @@ -1,7 +1,7 @@ --- collections: - middleware_automation.redhat_csp_download - - middleware_automation.jcliff + - middleware_automation.wildfly galaxy_info: role_name: keycloak diff --git a/roles/keycloak/tasks/systemd.yml b/roles/keycloak/tasks/systemd.yml index 5738229..3cf1479 100644 --- a/roles/keycloak/tasks/systemd.yml +++ b/roles/keycloak/tasks/systemd.yml @@ -64,5 +64,5 @@ url: "{{ health_url }}" register: keycloak_status until: keycloak_status.status == 200 - retries: 20 + retries: 25 delay: 10