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.

26 lines
638 B

9 years ago
  1. ---
  2. - include: set_facts.yml
  3. - include: install.yml
  4. - include: set_cluster_health.yml
  5. - include: configure.yml
  6. - include: refresh_config.yml
  7. - name: Restart etcd if binary changed
  8. command: /bin/true
  9. notify: restart etcd
  10. when: etcd_deployment_type == "host" and etcd_copy.stdout_lines
  11. # Reload systemd before starting service
  12. - meta: flush_handlers
  13. - name: Ensure etcd is running
  14. service:
  15. name: etcd
  16. state: started
  17. enabled: yes
  18. # After etcd cluster is assembled, make sure that
  19. # initial state of the cluster is in `existing`
  20. # state insted of `new`.
  21. - include: set_cluster_health.yml
  22. - include: refresh_config.yml