fix some handlers

This commit is contained in:
Smaine Kahlouch
2016-01-25 21:09:42 +01:00
committed by Antoine Legrand
parent 238f6e8a0b
commit 90ffb8489a
6 changed files with 26 additions and 32 deletions

View File

@@ -72,9 +72,8 @@
- name: Restart apiserver
command: "/bin/true"
notify: restart kube-apiserver
when: is_gentoken_calico|default(false) or kube_apiserver_copy.stdout_lines
when: is_gentoken_calico|default(false)
# reload-systemd
- meta: flush_handlers
- name: Enable apiserver
@@ -127,9 +126,3 @@
name: kubelet
state: restarted
changed_when: false
- name: Enable apiserver
service:
name: kube-apiserver
enabled: yes
state: started