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.

30 lines
810 B

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