From d7b7db34fad171d7f299a989dcb9a5d34a1560a3 Mon Sep 17 00:00:00 2001 From: Smaine Kahlouch Date: Sat, 21 Nov 2015 17:01:43 +0100 Subject: [PATCH] move task service kube-api to the end of role master --- roles/kubernetes/master/tasks/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/kubernetes/master/tasks/config.yml b/roles/kubernetes/master/tasks/config.yml index b678c657d..8ba0366d8 100644 --- a/roles/kubernetes/master/tasks/config.yml +++ b/roles/kubernetes/master/tasks/config.yml @@ -63,12 +63,6 @@ notify: - restart apiserver -- name: Enable apiserver - service: - name: kube-apiserver - enabled: yes - state: started - - name: Enable controller-manager service: name: kube-controller-manager @@ -86,3 +80,9 @@ name: kube-proxy enabled: yes state: started + +- name: Enable apiserver + service: + name: kube-apiserver + enabled: yes + state: started