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.

25 lines
619 B

  1. ---
  2. - name: Check ansible version
  3. import_playbook: ansible_version.yml
  4. - hosts: bastion[0]
  5. gather_facts: False
  6. roles:
  7. - { role: kubespray-defaults}
  8. - { role: bastion-ssh-config, tags: ["localhost", "bastion"]}
  9. - hosts: "{{ groups['etcd'] | first }}"
  10. roles:
  11. - { role: kubespray-defaults}
  12. - { role: recover_control_plane/etcd }
  13. - hosts: "{{ groups['kube-master'] | first }}"
  14. roles:
  15. - { role: recover_control_plane/control-plane }
  16. - include: cluster.yml
  17. - hosts: "{{ groups['kube-master'] }}"
  18. roles:
  19. - { role: kubespray-defaults}
  20. - { role: recover_control_plane/post-recover }