From 150911af46705be2e2b0726cfb6e0446b2c7a3d4 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 28 Apr 2020 22:56:12 +0200 Subject: kubeguard: split up role --- common/kubernetes-cleanup.yml | 4 +--- common/kubernetes.yml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'common') 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 -- cgit v1.2.3