2 - name: Check ansible version
3 import_playbook: ansible_version.yml
5 - name: Ensure compatibility with old groups
6 import_playbook: legacy_groups.yml
10 environment: "{{ proxy_disable_env }}"
12 - { role: kubespray-defaults}
13 - { role: bastion-ssh-config, tags: ["localhost", "bastion"]}
16 environment: "{{ proxy_disable_env }}"
18 - { role: kubespray-defaults}
19 - { role: recover_control_plane/etcd, when: "not etcd_kubeadm_enabled|default(false)" }
21 - hosts: kube_control_plane[0]
22 environment: "{{ proxy_disable_env }}"
24 - { role: kubespray-defaults}
25 - { role: recover_control_plane/control-plane }
27 - include: cluster.yml
29 - hosts: kube_control_plane
30 environment: "{{ proxy_disable_env }}"
32 - { role: kubespray-defaults}
33 - { role: recover_control_plane/post-recover }