This commit is contained in:
Michael McCulloch 2024-02-04 09:30:16 -07:00
parent 04d06b9238
commit 5de2b6f3db

View File

@ -62,7 +62,9 @@
# Set up nodes.
- name: Get the kubeadm join new master certificate key.
shell: set -o pipefail && kubeadm init phase upload-certs --upload-certs | tail --lines 1
shell:
executable: /bin/bash
cmd: set -o pipefail && kubeadm init phase upload-certs --upload-certs | tail --lines 1
changed_when: false
when: inventory_hostname == groups['k8s_control_plane'][0]
register: kubernetes_certificate_result