From aec370d0cd23abf34f1891d1f099a3e6fd873883 Mon Sep 17 00:00:00 2001 From: Bogdan Dobrelya Date: Thu, 25 Aug 2016 09:12:25 +0200 Subject: [PATCH] Fix handler triggering for kubelet restart Signed-off-by: Bogdan Dobrelya --- roles/kubernetes/master/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/kubernetes/master/tasks/main.yml b/roles/kubernetes/master/tasks/main.yml index 9140ef36c..4d0933550 100644 --- a/roles/kubernetes/master/tasks/main.yml +++ b/roles/kubernetes/master/tasks/main.yml @@ -12,8 +12,6 @@ changed_when: false register: kubectl_launcher -- meta: flush_handlers - - name: Write kube-apiserver manifest template: src: manifests/kube-apiserver.manifest.j2 @@ -60,3 +58,5 @@ src: manifests/kube-scheduler.manifest.j2 dest: "{{ kube_manifest_dir }}/kube-scheduler.manifest" notify: wait for kube-scheduler + +- meta: flush_handlers