From c273d4a34bbe0fe9cae7aafcdc4dd212fd97b93c Mon Sep 17 00:00:00 2001 From: alecsandru Date: Sat, 4 May 2024 16:10:28 +0000 Subject: [PATCH] Update 'k8s/initialize.yml' --- k8s/initialize.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/k8s/initialize.yml b/k8s/initialize.yml index 18aaec3..dcaabc0 100644 --- a/k8s/initialize.yml +++ b/k8s/initialize.yml @@ -47,6 +47,13 @@ shell: "{{ hostvars['K8S_CP_JOIN_DH']['token'] }} >> /etc/kubernetes/control-plane-join.log 2>&1" args: creates: /etc/kubernetes/control-plane-join.log + - name: Restore HA setup + service: + name: "{{ item }}" + state: started + with_items: + - "haproxy" + - "keepalived" # - name: Reboot machine to finaliza presetup # reboot: # reboot_timeout: 3600 \ No newline at end of file