initial commit

This commit is contained in:
2026-05-21 10:30:21 +03:30
commit ab19062111
8 changed files with 241 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
- name: Check if node joined
stat:
path: /etc/kubernetes/kubelet.conf
register: kubelet_conf
- name: Join node
shell: "{{ hostvars[groups['master'][0]]['join_command'] }}"
when: not kubelet_conf.stat.exists