|
|
@ -28,7 +28,7 @@ |
|
|
|
- name: Extract Control Plane token |
|
|
|
- name: Extract Control Plane token |
|
|
|
shell: cat /etc/kubernetes/setup.out | grep -e " kubeadm join" -e "--discovery-token" -e "--control-plane" |
|
|
|
shell: cat /etc/kubernetes/setup.out | grep -e " kubeadm join" -e "--discovery-token" -e "--control-plane" |
|
|
|
register: K8S_CP_JOIN_COMMAND |
|
|
|
register: K8S_CP_JOIN_COMMAND |
|
|
|
msg: {{ K8S_CP_JOIN_COMMAND }} |
|
|
|
msg: "{{ K8S_CP_JOIN_COMMAND }}" |
|
|
|
|
|
|
|
|
|
|
|
# - name: Reboot machine to finaliza presetup |
|
|
|
# - name: Reboot machine to finaliza presetup |
|
|
|
# reboot: |
|
|
|
# reboot: |
|
|
|