mirror of
https://github.com/kasmtech/ansible
synced 2025-01-09 18:28:45 +00:00
11 lines
345 B
YAML
11 lines
345 B
YAML
|
- name: Check connection from agent to webserver
|
||
|
uri:
|
||
|
url: "https://{{ web_ip }}/api/__healthcheck"
|
||
|
timeout: 5
|
||
|
validate_certs: false
|
||
|
|
||
|
- name: Install agent role
|
||
|
command: "bash {{ tempdir.path }}/kasm_release/install.sh -S agent -e -p {{ target_ip }} -m {{ web_ip }} -M {{ manager_token }}"
|
||
|
register: web_install
|
||
|
become: true
|