Fix delegate tasks for kubectl and etcdctl

This commit is contained in:
Matthew Mosesohn
2017-03-23 13:10:42 +03:00
parent e9a294fd9c
commit 6e505c0c3f
2 changed files with 2 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
- name: See if node is in ready state
command: "kubectl get nodes | grep {{ inventory_hostname }}"
register: kubectl_nodes
delegate_to: "{{ groups['kube-master'][0] }}"
ignore_errors: true
- set_fact: