Merge "Correct overcloud delete fail condition"

This commit is contained in:
Zuul 2021-10-02 21:42:02 +00:00 committed by Gerrit Code Review
commit c045cb9bb4

View File

@ -42,8 +42,8 @@
debug:
var: tripleo_overcloud_status_output
- name: "Fail if overcloud status command does not contains overcloud"
- name: "Fail if overcloud is not deleted successfully"
when:
- tripleo_overcloud_status_output.find("overcloud") == -1
- tripleo_overcloud_status_output.find("No deployment was found") == -1
fail:
msg: "Overcloud is not deleted"