You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
753 B

  1. ---
  2. - name: Common tasks for every playbooks
  3. import_playbook: boilerplate.yml
  4. - name: Recover etcd
  5. hosts: etcd[0]
  6. environment: "{{ proxy_disable_env }}"
  7. roles:
  8. - { role: kubespray-defaults}
  9. - role: recover_control_plane/etcd
  10. when: etcd_deployment_type != "kubeadm"
  11. - name: Recover control plane
  12. hosts: kube_control_plane[0]
  13. environment: "{{ proxy_disable_env }}"
  14. roles:
  15. - { role: kubespray-defaults}
  16. - { role: recover_control_plane/control-plane }
  17. - name: Apply whole cluster install
  18. import_playbook: cluster.yml
  19. - name: Perform post recover tasks
  20. hosts: kube_control_plane
  21. environment: "{{ proxy_disable_env }}"
  22. roles:
  23. - { role: kubespray-defaults}
  24. - { role: recover_control_plane/post-recover }