ansible-role-k3s/tasks/validate/check-master-count.yml

9 lines
254 B
YAML
Raw Normal View History

---
- name: Check if multiple controllers defined
assert:
that:
- k3s_controller_count | length == 1
success_msg: "Only one controller has been defined."
fail_msg: "Multiple controllers have been defined. This is not yet supported."