c12s-kubespray/roles/etcd/tasks/main.yml
2016-01-15 13:03:27 +01:00

12 lines
307 B
YAML

---
- name: Stop etcd2 service
service: name=etcd state=stopped
ignore_errors: yes
- name: Create etcd pod manifest
template: src=etcd-pod.yml dest=/etc/kubernetes/manifests/etcd-pod.manifest
- name: Check for etcd2 port (pulling image and running container)
wait_for:
port: 2379
delay: 5