k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
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
16 lines
380 B
---
|
|
- name: Copy etcd2.service systemd file
|
|
template:
|
|
src: systemd-etcd2.service.j2
|
|
dest: /lib/systemd/system/etcd2.service
|
|
backup: yes
|
|
notify:
|
|
- restart etcd2
|
|
|
|
- name: Create etcd2 environment vars file
|
|
template:
|
|
src: etcd2-environment.j2
|
|
dest: /etc/etcd2-environment
|
|
|
|
- name: Ensure etcd2 is running
|
|
service: name=etcd2 state=started enabled=yes
|