mirror of
https://github.com/kasmtech/ansible
synced 2024-12-05 01:29:24 +00:00
KASM-1942 Ensure we retry the agent connection check to give time for webapp startup
This commit is contained in:
parent
fbf8b83c76
commit
b3bd8626b0
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
||||||
url: "https://{{ web_ip }}/api/__healthcheck"
|
url: "https://{{ web_ip }}/api/__healthcheck"
|
||||||
timeout: 5
|
timeout: 5
|
||||||
validate_certs: false
|
validate_certs: false
|
||||||
|
register: _result
|
||||||
|
until: _result.status == 200
|
||||||
|
retries: 7
|
||||||
|
delay: 5
|
||||||
|
|
||||||
- name: Install agent role
|
- name: Install agent role
|
||||||
command: "bash {{ tempdir.path }}/kasm_release/install.sh -S agent -e -p {{ target_ip }} -m {{ web_ip }} -M {{ manager_token }}"
|
command: "bash {{ tempdir.path }}/kasm_release/install.sh -S agent -e -p {{ target_ip }} -m {{ web_ip }} -M {{ manager_token }}"
|
||||||
|
|
Loading…
Reference in a new issue