diff --git a/swizzle/add-nodes.yml b/swizzle/add-nodes.yml index c90d3eb..6c1e9d8 100644 --- a/swizzle/add-nodes.yml +++ b/swizzle/add-nodes.yml @@ -7,6 +7,7 @@ - name: create a kubeadm token hosts: primary_master + become: yes tasks: - name: generate a kubeadm token command: "/usr/bin/kubeadm token create --config /etc/kubernetes/kubeadm.conf --kubeconfig /etc/kubernetes/admin.conf"