last line

This commit is contained in:
Michael McCulloch 2024-02-04 09:13:43 -07:00
parent 7cadbba6dc
commit efdfb7d2ed

View File

@ -62,7 +62,7 @@
# Set up nodes.
- name: Get the kubeadm join new master certificate key.
command: kubeadm init phase upload-certs --upload-certs | tail -1
command: kubeadm init phase upload-certs --upload-certs | tail -n 1
changed_when: false
when: inventory_hostname == groups['k8s_control_plane'][0]
register: kubernetes_certificate_result