diff --git a/roles/kubernetes/kubeadm/tasks/main.yml b/roles/kubernetes/kubeadm/tasks/main.yml index 423fea078..75bffc781 100644 --- a/roles/kubernetes/kubeadm/tasks/main.yml +++ b/roles/kubernetes/kubeadm/tasks/main.yml @@ -120,7 +120,6 @@ delegate_to: "{{ groups['kube-master']|first }}" delegate_facts: false when: - - inventory_hostname in groups['kube-master'] - kubeadm_config_api_fqdn is not defined - kubeadm_discovery_address != kube_apiserver_endpoint | replace("https://", "") - kube_proxy_deployed @@ -141,7 +140,6 @@ delegate_to: "{{ groups['kube-master']|first }}" delegate_facts: false when: - - inventory_hostname in groups['kube-master'] - kubeadm_config_api_fqdn is not defined - kubeadm_discovery_address != kube_apiserver_endpoint | replace("https://", "") - kube_proxy_deployed