Browse Source

Merge pull request #497 from tonycapone/master

Restored gather facts on all hosts
pull/522/head
Smaine Kahlouch 8 years ago
committed by GitHub
parent
commit
4e80ac1cb3
1 changed files with 5 additions and 6 deletions
  1. 11
      cluster.yml

11
cluster.yml

@ -6,14 +6,16 @@
tags:
- bootstrap-os
- hosts: etcd:!k8s-cluster
- hosts: all
gather_facts: true
- hosts: etcd:!k8s-cluster
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- { role: etcd, tags: etcd }
- hosts: k8s-cluster
gather_facts: true
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- { role: etcd, tags: etcd }
@ -21,17 +23,14 @@
- { role: network_plugin, tags: network }
- hosts: kube-master
gather_facts: true
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- { role: kubernetes/master, tags: master }
- hosts: k8s-cluster
gather_facts: true
roles:
- { role: dnsmasq, tags: dnsmasq }
- hosts: kube-master[0]
gather_facts: true
roles:
- { role: kubernetes-apps, tags: apps }
- { role: kubernetes-apps, tags: apps }
Loading…
Cancel
Save