diff --git a/roles/kubernetes-apps/metallb/tasks/main.yml b/roles/kubernetes-apps/metallb/tasks/main.yml index d05bfade8..73cc2147a 100644 --- a/roles/kubernetes-apps/metallb/tasks/main.yml +++ b/roles/kubernetes-apps/metallb/tasks/main.yml @@ -57,7 +57,7 @@ - name: Kubernetes Apps | Wait for MetalLB controller to be running k8s_info: kind: Deployment - namespace: "{{ namespace_name }}" + namespace: metallb-system name: controller wait: True wait_sleep: 10 @@ -83,5 +83,5 @@ k8s: name: config kind: ConfigMap - namespace: "{{ namespace_name }}" + namespace: metallb-system state: absent