Browse Source

Fix etcd play to only run on non-k8s-cluster nodes

This decreases the time required to deploy a cluster with
3 nodes, but none are standalone etcd roles.
pull/413/head
Matthew Mosesohn 8 years ago
parent
commit
d591b59205
1 changed files with 2 additions and 2 deletions
  1. 4
      cluster.yml

4
cluster.yml

@ -2,11 +2,11 @@
- hosts: all
gather_facts: true
- hosts: etcd
- hosts: etcd:!k8s-cluster
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- { role: etcd, tags: etcd }
- { role: docker, tags: docker }
- { role: etcd, tags: etcd }
- hosts: k8s-cluster
roles:

Loading…
Cancel
Save