mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-07 02:27:43 +03:00
split network plugins into distinct roles
This commit is contained in:
15
roles/network_plugin/calico/handlers/main.yml
Normal file
15
roles/network_plugin/calico/handlers/main.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: restart calico-node
|
||||
command: /bin/true
|
||||
notify:
|
||||
- reload systemd
|
||||
- reload calico-node
|
||||
|
||||
- name : reload systemd
|
||||
shell: systemctl daemon-reload
|
||||
when: init_system == "systemd"
|
||||
|
||||
- name: reload calico-node
|
||||
service:
|
||||
name: calico-node
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user