|
|
@ -47,6 +47,13 @@ |
|
|
|
shell: "{{ hostvars['K8S_CP_JOIN_DH']['token'] }} >> /etc/kubernetes/control-plane-join.log 2>&1" |
|
|
|
shell: "{{ hostvars['K8S_CP_JOIN_DH']['token'] }} >> /etc/kubernetes/control-plane-join.log 2>&1" |
|
|
|
args: |
|
|
|
args: |
|
|
|
creates: /etc/kubernetes/control-plane-join.log |
|
|
|
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 |
|
|
|
# - name: Reboot machine to finaliza presetup |
|
|
|
# reboot: |
|
|
|
# reboot: |
|
|
|
# reboot_timeout: 3600 |
|
|
|
# reboot_timeout: 3600 |