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 import_playbook: facts.yml
18 - hosts: etcd:k8s_cluster:calico_rr
21 name: "reset_confirmation"
22 prompt: "Are you sure you want to reset cluster state? Type 'yes' to reset your cluster."
27 - name: check confirmation
29 msg: "Reset confirmation failed"
30 when: reset_confirmation != "yes"
32 environment: "{{ proxy_disable_env }}"
34 - { role: kubespray-defaults}
35 - { role: kubernetes/preinstall, when: "dns_mode != 'none' and resolvconf_mode == 'host_resolvconf'", tags: resolvconf, dns_early: true }
36 - { role: reset, tags: reset }