|
@@ -38,7 +38,6 @@
|
|
|
command: "helm repo add metallb '{{ metallb_helm_url }}'"
|
|
|
changed_when: false
|
|
|
tags: init
|
|
|
-
|
|
|
|
|
|
- name: Create MetalLB Setup Config Files
|
|
|
copy:
|
|
@@ -60,7 +59,8 @@
|
|
|
|
|
|
- name: Deploy Metallb
|
|
|
command: "helm install metallb metallb/metallb -f '{{ metallb_config_file_dest }}'"
|
|
|
- changed_when: false
|
|
|
+ changed_when: true
|
|
|
+ when: "'metallb' not in k8s_pods.stdout"
|
|
|
tags: init
|
|
|
|
|
|
- name: Start k8s dashboard
|