summaryrefslogtreecommitdiff
path: root/common/kubernetes-cluster.yml
diff options
context:
space:
mode:
Diffstat (limited to 'common/kubernetes-cluster.yml')
-rw-r--r--common/kubernetes-cluster.yml3
1 files changed, 2 insertions, 1 deletions
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_