Skip retry operation with containerd when etcd installed on host VM
This commit is contained in:
parent
4f32f94a51
commit
f6953f8c85
2 changed files with 7 additions and 0 deletions
|
@ -29,6 +29,9 @@
|
|||
msg: "Reset confirmation failed"
|
||||
when: reset_confirmation != "yes"
|
||||
|
||||
- name: Gather information about installed services
|
||||
service_facts:
|
||||
|
||||
environment: "{{ proxy_disable_env }}"
|
||||
roles:
|
||||
- { role: kubespray-defaults}
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
when:
|
||||
- crictl.stat.exists
|
||||
- container_manager in ["crio", "containerd"]
|
||||
- ansible_facts.services['containerd.service'] is defined
|
||||
ignore_errors: true # noqa ignore-errors
|
||||
|
||||
- name: reset | force remove all cri containers
|
||||
|
@ -80,6 +81,7 @@
|
|||
- crictl.stat.exists
|
||||
- container_manager in ["crio", "containerd"]
|
||||
- deploy_container_engine
|
||||
- ansible_facts.services['containerd.service'] is defined
|
||||
ignore_errors: true # noqa ignore-errors
|
||||
|
||||
- name: reset | stop and disable crio service
|
||||
|
@ -109,6 +111,7 @@
|
|||
when:
|
||||
- crictl.stat.exists
|
||||
- container_manager == "containerd"
|
||||
- ansible_facts.services['containerd.service'] is defined
|
||||
ignore_errors: true # noqa ignore-errors
|
||||
|
||||
- block:
|
||||
|
@ -122,6 +125,7 @@
|
|||
when:
|
||||
- crictl.stat.exists
|
||||
- container_manager == "containerd"
|
||||
- ansible_facts.services['containerd.service'] is defined
|
||||
|
||||
rescue:
|
||||
- name: reset | force remove all cri pods (rescue)
|
||||
|
|
Loading…
Reference in a new issue