5668e5f767
Changed Wants=docker.service to docker.socket Renamed handlers for reloading systemd to contain role in task name.
16 lines
340 B
YAML
16 lines
340 B
YAML
---
|
|
- name: restart calico-node
|
|
command: /bin/true
|
|
notify:
|
|
- Calico | reload systemd
|
|
- Calico | reload calico-node
|
|
|
|
- name : Calico | reload systemd
|
|
shell: systemctl daemon-reload
|
|
when: ansible_service_mgr == "systemd"
|
|
|
|
- name: Calico | reload calico-node
|
|
service:
|
|
name: calico-node
|
|
state: restarted
|
|
sleep: 10
|