ansible-role-k3s/tasks/validate/check-control-plane.yml

11 lines
312 B
YAML
Raw Normal View History

2020-10-17 19:26:30 +02:00
---
- name: Check that the control plane to is available to accept connections
wait_for:
port: "{{ k3s_runtime_config['https-listen-port'] | default('6443') }}"
host: "{{ k3s_runtime_config['bind-address'] | default('127.0.0.1') }}"
2020-10-17 19:26:30 +02:00
delay: 5
sleep: 5
timeout: 300
when: k3s_control_node