kubespray/roles/etcd/tasks/main.yml

13 lines
307 B
YAML
Raw Normal View History

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