You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
303 B

  1. ---
  2. - name: restart calico-node
  3. command: /bin/true
  4. notify:
  5. - reload systemd
  6. - reload calico-node
  7. - name : reload systemd
  8. shell: systemctl daemon-reload
  9. when: ansible_service_mgr == "systemd"
  10. - name: reload calico-node
  11. service:
  12. name: calico-node
  13. state: restarted
  14. sleep: 10