summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/kubernetes-cleanup.yml4
-rw-r--r--common/kubernetes.yml2
2 files changed, 2 insertions, 4 deletions
diff --git a/common/kubernetes-cleanup.yml b/common/kubernetes-cleanup.yml
index 41678204..83d6945c 100644
--- a/common/kubernetes-cleanup.yml
+++ b/common/kubernetes-cleanup.yml
@@ -32,7 +32,5 @@
hosts: _kubernetes_nodes_remove_
roles:
- role: kubernetes/kubeadm/reset
- - role: kubernetes/net/kubeguard
+ - role: kubernetes/net/kubeguard/reset
when: hostvars[groups['_kubernetes_primary_master_'][0]].kubernetes_network_plugin == 'kubeguard'
- vars:
- kubeguard_action: remove
diff --git a/common/kubernetes.yml b/common/kubernetes.yml
index 27da0bf1..d970c1fe 100644
--- a/common/kubernetes.yml
+++ b/common/kubernetes.yml
@@ -40,7 +40,7 @@
roles:
- role: apt-repo/spreadspace
when: kubernetes_network_plugin == 'kubeguard'
- - role: kubernetes/net/kubeguard
+ - role: kubernetes/net/kubeguard/node
when: kubernetes_network_plugin == 'kubeguard'
- role: kubernetes/base
- role: kubernetes/kubeadm/base