diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/kubernetes/kubeadm/base/tasks/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/kubernetes/kubeadm/base/tasks/main.yml b/roles/kubernetes/kubeadm/base/tasks/main.yml index 39e24ccb..75c1187a 100644 --- a/roles/kubernetes/kubeadm/base/tasks/main.yml +++ b/roles/kubernetes/kubeadm/base/tasks/main.yml @@ -43,6 +43,17 @@ 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 /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 |