41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
---
|
|
- name: Wait for Selenoid status endpoint
|
|
ansible.builtin.uri:
|
|
url: "http://127.0.0.1:{{ selenoid_host_port }}/status"
|
|
method: GET
|
|
status_code: 200
|
|
register: selenoid_status_response
|
|
retries: 20
|
|
delay: 3
|
|
until: selenoid_status_response.status == 200
|
|
|
|
- name: Wait for GGR ping endpoint
|
|
ansible.builtin.uri:
|
|
url: "http://127.0.0.1:{{ ggr_gateway_port }}/ping"
|
|
method: GET
|
|
status_code: 200
|
|
register: ggr_ping_response
|
|
retries: 20
|
|
delay: 3
|
|
until: ggr_ping_response.status == 200
|
|
|
|
- name: Wait for gateway UI endpoint
|
|
ansible.builtin.uri:
|
|
url: "http://127.0.0.1:{{ ggr_nginx_public_port }}/"
|
|
method: GET
|
|
status_code: 200
|
|
register: ggr_ui_response
|
|
retries: 20
|
|
delay: 3
|
|
until: ggr_ui_response.status == 200
|
|
|
|
- name: Wait for gateway webdriver status endpoint
|
|
ansible.builtin.uri:
|
|
url: "http://127.0.0.1:{{ ggr_nginx_public_port }}/wd/hub/status"
|
|
method: GET
|
|
status_code: 200
|
|
register: wd_status_response
|
|
retries: 20
|
|
delay: 3
|
|
until: wd_status_response.status == 200
|