|
|
@ -44,7 +44,9 @@ |
|
|
|
- name: Execute image pull |
|
|
|
- name: Execute image pull |
|
|
|
shell: kubeadm config images pull |
|
|
|
shell: kubeadm config images pull |
|
|
|
- name: Join the clusters |
|
|
|
- name: Join the clusters |
|
|
|
shell: "{{ hostvars['K8S_CP_JOIN_DH']['token'] }}" |
|
|
|
shell: "{{ hostvars['K8S_CP_JOIN_DH']['token'] }} >> /etc/kubernetes/control-plane-join.log" |
|
|
|
|
|
|
|
args: |
|
|
|
|
|
|
|
creates: /etc/kubernetes/control-plain-join.log |
|
|
|
# - name: Reboot machine to finaliza presetup |
|
|
|
# - name: Reboot machine to finaliza presetup |
|
|
|
# reboot: |
|
|
|
# reboot: |
|
|
|
# reboot_timeout: 3600 |
|
|
|
# reboot_timeout: 3600 |