mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Add Vagrantfile for local testing
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
@@ -87,6 +87,7 @@
|
||||
when: ansible_hostname != groups['server'][0]
|
||||
|
||||
- name: Verify that all server nodes joined
|
||||
when: (groups['server'] | length) > 1
|
||||
ansible.builtin.command:
|
||||
cmd: >
|
||||
k3s kubectl get nodes -l "node-role.kubernetes.io/control-plane=true" -o=jsonpath="{.items[*].metadata.name}"
|
||||
|
||||
Reference in New Issue
Block a user