2015-10-03 20:19:50 +00:00
|
|
|
---
|
2016-01-09 09:45:50 +00:00
|
|
|
- name: Stop etcd2 service
|
2015-12-23 22:27:40 +00:00
|
|
|
service: name=etcd state=stopped
|
|
|
|
ignore_errors: yes
|
|
|
|
|
2016-01-09 09:45:50 +00:00
|
|
|
- name: Create etcd pod manifest
|
2015-12-23 22:27:40 +00:00
|
|
|
template: src=etcd-pod.yml dest=/etc/kubernetes/manifests/etcd-pod.manifest
|
|
|
|
|
2016-01-09 09:45:50 +00:00
|
|
|
- name: Check for etcd2 port (pulling image and running container)
|
2015-12-23 22:27:40 +00:00
|
|
|
wait_for:
|
|
|
|
port: 2379
|
|
|
|
delay: 5
|