KASM-1942 Ensure we retry the agent connection check to give time for webapp startup

This commit is contained in:
Ian Tangney 2021-09-15 15:23:32 -04:00
parent fbf8b83c76
commit b3bd8626b0

View file

@ -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 }}"