From 589f45dbe0ccb68949604cc0db852803f2bd07bd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 18 May 2020 13:55:00 +0200 Subject: fix kubernetes playbooks --- common/kubernetes-cluster.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/kubernetes-cluster.yml b/common/kubernetes-cluster.yml index 31b7bbf4..77fcc02a 100644 --- a/common/kubernetes-cluster.yml +++ b/common/kubernetes-cluster.yml @@ -5,6 +5,7 @@ tasks: - name: sanity checks for kubeguard when: kubernetes_network_plugin == 'kubeguard' + run_once: yes block: - name: check whether every node has a node_index assigned assert: @@ -45,7 +46,7 @@ - name: configure primary kubernetes master hosts: _kubernetes_primary_master_ roles: - - role: kubernetes/kubeadm/masterg + - role: kubernetes/kubeadm/master - name: configure secondary kubernetes masters hosts: _kubernetes_masters_:!_kubernetes_primary_master_ -- cgit v1.2.3