Merge pull request #913 from galthaus/apps-master-only
Ansible apps should only check for api-server running on the master.
This commit is contained in:
commit
b47e76afdb
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
until: result.status == 200
|
until: result.status == 200
|
||||||
retries: 10
|
retries: 10
|
||||||
delay: 6
|
delay: 6
|
||||||
|
when: inventory_hostname == groups['kube-master'][0]
|
||||||
|
|
||||||
- name: Kubernetes Apps | Lay Down KubeDNS Template
|
- name: Kubernetes Apps | Lay Down KubeDNS Template
|
||||||
template: src={{item.file}} dest={{kube_config_dir}}/{{item.file}}
|
template: src={{item.file}} dest={{kube_config_dir}}/{{item.file}}
|
||||||
|
|
Loading…
Reference in a new issue