diff --git a/roles/kubernetes-apps/ansible/tasks/main.yaml b/roles/kubernetes-apps/ansible/tasks/main.yaml index b693055a5..787fa156a 100644 --- a/roles/kubernetes-apps/ansible/tasks/main.yaml +++ b/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}}