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