Browse Source

Should only check for api-server running on the master.

If this runs on other nodes, it will fail the playbook.
pull/913/head
Greg Althaus 7 years ago
parent
commit
61dab8dc0b
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/kubernetes-apps/ansible/tasks/main.yaml

1
roles/kubernetes-apps/ansible/tasks/main.yaml

@ -5,6 +5,7 @@
until: result.status == 200
retries: 10
delay: 6
when: inventory_hostname == groups['kube-master'][0]
- name: Kubernetes Apps | Lay Down KubeDNS Template
template: src={{item.file}} dest={{kube_config_dir}}/{{item.file}}

Loading…
Cancel
Save