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
255 B

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