Skip to content
Snippets Groups Projects
Commit d591b592 authored by Matthew Mosesohn's avatar Matthew Mosesohn
Browse files

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.
parent c6f21020
No related branches found
No related tags found
No related merge requests found
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
- hosts: all - hosts: all
gather_facts: true gather_facts: true
- hosts: etcd - hosts: etcd:!k8s-cluster
roles: roles:
- { role: kubernetes/preinstall, tags: preinstall } - { role: kubernetes/preinstall, tags: preinstall }
- { role: etcd, tags: etcd }
- { role: docker, tags: docker } - { role: docker, tags: docker }
- { role: etcd, tags: etcd }
- hosts: k8s-cluster - hosts: k8s-cluster
roles: roles:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment