From bc9cb3a1cc1410fb129c6769d0a7b20c69d01e3b Mon Sep 17 00:00:00 2001 From: James McCallum Date: Fri, 8 Jun 2018 14:49:12 +1000 Subject: [PATCH] PR updates --- tasks/main.yml | 6 ------ tasks/node-setup.yml | 4 ---- 2 files changed, 10 deletions(-) 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 }}