diff --git a/2-setup-kubernetes.yml b/2-setup-kubernetes.yml index 77d574d..2b18b0a 100644 --- a/2-setup-kubernetes.yml +++ b/2-setup-kubernetes.yml @@ -6,9 +6,9 @@ become: yes roles: - # - dns - # - proxy - # - kubernetes + - dns + - proxy + - kubernetes tasks: diff --git a/3-kubeadm-init.yml b/3-kubeadm-init.yml index 4166494..92d7f94 100644 --- a/3-kubeadm-init.yml +++ b/3-kubeadm-init.yml @@ -31,7 +31,7 @@ - debug: var: k8s_ca_cert_hash - # - name: join nodes to cluster - # shell: kubeadm join [2001:470:6d:22c:42::1]:6443 --token {{ k8s_token }} --discovery-token-ca-cert-hash sha256:{{ k8s_ca_cert_hash }} - # delegate_to: "{{ item }}" - # with_items: "{{ k8s-nodes }}" \ No newline at end of file + - name: join nodes to cluster + shell: kubeadm join [2001:470:6d:22c:42::1]:6443 --token {{ k8s_token }} --discovery-token-ca-cert-hash sha256:{{ k8s_ca_cert_hash }} + delegate_to: "{{ item }}" + with_items: "{{ k8s-nodes }}" \ No newline at end of file