mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 16:53:04 +00:00
Update roles/kube-master/tasks/main.yml
This commit is contained in:
@ -42,3 +42,7 @@
|
|||||||
- name: Get kubeadm join command
|
- name: Get kubeadm join command
|
||||||
shell: kubeadm token create --print-join-command
|
shell: kubeadm token create --print-join-command
|
||||||
register: join_cmd
|
register: join_cmd
|
||||||
|
|
||||||
|
- name: Set join command as fact
|
||||||
|
set_fact:
|
||||||
|
kubeadm_join_command: "{{ join_cmd.stdout }}"
|
||||||
Reference in New Issue
Block a user