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.

16 lines
380 B

9 years ago
9 years ago
  1. ---
  2. - name: Copy etcd2.service systemd file
  3. template:
  4. src: systemd-etcd2.service.j2
  5. dest: /lib/systemd/system/etcd2.service
  6. backup: yes
  7. notify:
  8. - restart etcd2
  9. - name: Create etcd2 environment vars file
  10. template:
  11. src: etcd2-environment.j2
  12. dest: /etc/etcd2-environment
  13. - name: Ensure etcd2 is running
  14. service: name=etcd2 state=started enabled=yes