diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a55b81..9034acc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,3 +40,6 @@ jobs: - name: Run molecule test run: molecule test --all working-directory: ./ansible_collections/middleware_automation/keycloak + env: + PY_COLORS: '1' + ANSIBLE_FORCE_COLOR: '1' diff --git a/roles/keycloak/templates/keycloak-service.sh.j2 b/roles/keycloak/templates/keycloak-service.sh.j2 index 569c856..6e9a4e2 100755 --- a/roles/keycloak/templates/keycloak-service.sh.j2 +++ b/roles/keycloak/templates/keycloak-service.sh.j2 @@ -1,6 +1,6 @@ #!/bin/bash -eu -set -o pipefail +set +u -o pipefail checkEnvVar() { local envVar=${1} diff --git a/roles/keycloak/templates/keycloak.service.j2 b/roles/keycloak/templates/keycloak.service.j2 index a3aa846..2824a25 100644 --- a/roles/keycloak/templates/keycloak.service.j2 +++ b/roles/keycloak/templates/keycloak.service.j2 @@ -11,7 +11,7 @@ Group={{ keycloak_service_group }} PIDFile={{ keycloak_service_pidfile }} ExecStart={{ keycloak_dest }}/keycloak-service.sh start ExecStop={{ keycloak_dest }}/keycloak-service.sh stop -TimeoutStartSec=60 +TimeoutStartSec=90 TimeoutStopSec=60 LimitNOFILE=102642