summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-06-19 20:47:05 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-06-19 20:47:05 +0200
commit82139978e2ce9e72de13d35a7f038bb735d570a8 (patch)
tree089043146da01f9c333c9c61fa6aa7ea2e5dbd41 /roles
parentapt-repo/spreadspace is needed when installing wireguard on older distros (diff)
hatop is dead, switch to haproxyctl
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