mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-15 18:20:02 -03:30
Fix systemd reload and calico unit
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
dest: /usr/bin/calicoctl
|
||||
state: link
|
||||
|
||||
- wait_for:
|
||||
- name: Calico | wait for etcd
|
||||
wait_for:
|
||||
port: 2379
|
||||
when: inventory_hostname in groups['kube-master']
|
||||
|
||||
@@ -68,6 +69,8 @@
|
||||
when: init_system == "sysvinit" and ansible_os_family == "RedHat"
|
||||
notify: restart calico-node
|
||||
|
||||
- meta: flush_handlers
|
||||
|
||||
- name: Calico | Enable calico-node
|
||||
service: name=calico-node enabled=yes state=started
|
||||
|
||||
|
||||
Reference in New Issue
Block a user