Adjust service start timeout

main
Guido Grazioli 2021-12-14 11:59:03 +01:00
parent 78a1d11b99
commit 47c1f43247
3 changed files with 5 additions and 2 deletions

View File

@ -40,3 +40,6 @@ jobs:
- name: Run molecule test - name: Run molecule test
run: molecule test --all run: molecule test --all
working-directory: ./ansible_collections/middleware_automation/keycloak working-directory: ./ansible_collections/middleware_automation/keycloak
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'

View File

@ -1,6 +1,6 @@
#!/bin/bash -eu #!/bin/bash -eu
set -o pipefail set +u -o pipefail
checkEnvVar() { checkEnvVar() {
local envVar=${1} local envVar=${1}

View File

@ -11,7 +11,7 @@ Group={{ keycloak_service_group }}
PIDFile={{ keycloak_service_pidfile }} PIDFile={{ keycloak_service_pidfile }}
ExecStart={{ keycloak_dest }}/keycloak-service.sh start ExecStart={{ keycloak_dest }}/keycloak-service.sh start
ExecStop={{ keycloak_dest }}/keycloak-service.sh stop ExecStop={{ keycloak_dest }}/keycloak-service.sh stop
TimeoutStartSec=60 TimeoutStartSec=90
TimeoutStopSec=60 TimeoutStopSec=60
LimitNOFILE=102642 LimitNOFILE=102642