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.

18 lines
327 B

9 years ago
  1. ---
  2. - include: install.yml
  3. - include: configure.yml
  4. - name: Restart etcd if binary changed
  5. command: /bin/true
  6. notify: restart etcd
  7. when: etcd_copy.stdout_lines
  8. # reload systemd before starting service
  9. - meta: flush_handlers
  10. - name: Ensure etcd is running
  11. service:
  12. name: etcd
  13. state: started
  14. enabled: yes