summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/kubernetes/kubeadm/base/tasks/main.yml13
1 files changed, 1 insertions, 12 deletions
diff --git a/roles/kubernetes/kubeadm/base/tasks/main.yml b/roles/kubernetes/kubeadm/base/tasks/main.yml
index 7f2e02c2..7d882f31 100644
--- a/roles/kubernetes/kubeadm/base/tasks/main.yml
+++ b/roles/kubernetes/kubeadm/base/tasks/main.yml
@@ -3,7 +3,7 @@
apt:
name:
- haproxy
- - hatop
+ - haproxyctl
- "kubeadm={{ kubernetes_version }}-00"
- "kubectl={{ kubernetes_version }}-00"
state: present
@@ -48,17 +48,6 @@
state: "{% if haproxy_config is changed %}restarted{% else %}started{% endif %}"
enabled: yes
-- name: add hatop config for shells
- loop:
- - zsh
- - bash
- blockinfile:
- path: "/root/.{{ item }}rc"
- create: yes
- marker: "### {mark} ANSIBLE MANAGED BLOCK for hatop ###"
- content: |
- alias hatop="hatop -s /var/run/haproxy/admin.sock"
-
## loading the modules temporarly because kubeadm will complain if they are not there
# but i don't think it is necessary to make this persistent, also ignoring changes here
- name: load module br_netfilter to satisfy kubeadm init/join