# to set up 'kube_node' nodes - hosts: kube_node roles: - { role: kube-lb, when: "inventory_hostname not in groups['kube_master']" } - { role: kube-node, when: "inventory_hostname not in groups['kube_master']" }