Merge pull request #276 from mattymo/patch-1

Fix order in restart kubelet to fix systemd reload
pull/278/head
Smaine Kahlouch 2016-05-31 20:16:01 +02:00
commit ab0581e114
1 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
---
- name: reload systemd
command: systemctl daemon-reload
when: ansible_service_mgr == "systemd"
- name: restart kubelet
command: /bin/true
notify:
- reload systemd
- reload kubelet
- name: reload systemd
command: systemctl daemon-reload
when: ansible_service_mgr == "systemd"
- name: reload kubelet
service:
name: kubelet