kubeasz/playbooks/05.kube-node.yml

6 lines
218 B
YAML
Raw Normal View History

# to set up 'kube_node' nodes
- hosts: kube_node
2017-11-11 19:14:21 +08:00
roles:
- { role: kube-lb, when: "inventory_hostname not in groups['kube_master']" }
- { role: kube-node, when: "inventory_hostname not in groups['kube_master']" }