c12s-kubespray/roles/etcd/tasks/configure.yml

17 lines
380 B
YAML
Raw Normal View History

2015-10-03 20:19:50 +00:00
---
2015-12-15 10:49:11 +00:00
- name: Copy etcd2.service systemd file
template:
src: systemd-etcd2.service.j2
dest: /lib/systemd/system/etcd2.service
backup: yes
notify:
- restart etcd2
2015-12-16 20:43:29 +00:00
- name: Create etcd2 environment vars file
template:
src: etcd2-environment.j2
dest: /etc/etcd2-environment
2015-10-03 20:19:50 +00:00
- name: Ensure etcd2 is running
service: name=etcd2 state=started enabled=yes