diff --git a/tasks/main.yml b/tasks/main.yml index 349f081..a717368 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -35,12 +35,6 @@ path: /etc/kubernetes/admin.conf register: kubernetes_init_stat -- name: configure docker cgroup driver - shell: sed -i "s/cgroup-driver=systemd/cgroup-driver=cgroupfs/g" /etc/systemd/system/kubelet.service.d/10-kubeadm.conf - -- name: restart docker services - shell: systemctl daemon-reload && service kubelet restart - # Set up master. - include_tasks: master-setup.yml when: kubernetes_role == 'master' diff --git a/tasks/node-setup.yml b/tasks/node-setup.yml index cc3922b..7a67963 100644 --- a/tasks/node-setup.yml +++ b/tasks/node-setup.yml @@ -1,8 +1,4 @@ --- -- name: print join command - debug: - msg: "{{ kubernetes_join_command }}" - - name: Join node to Kubernetes master shell: > {{ kubernetes_join_command.stdout }}