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

9 years ago
  1. ---
  2. - name: Disable ferm
  3. service: name=ferm state=stopped enabled=no
  4. - name: Create etcd2 environment vars dir
  5. file: path=/etc/systemd/system/etcd2.service.d state=directory
  6. - name: Write etcd2 config file
  7. template: src=etcd2.j2 dest=/etc/systemd/system/etcd2.service.d/10-etcd2-cluster.conf
  8. notify:
  9. - reload systemd
  10. - restart etcd2
  11. - name: Ensure etcd2 is running
  12. service: name=etcd2 state=started enabled=yes