diff --git a/playbooks/reset.yml b/playbooks/reset.yml index 654f0a1b7..3f233e0c2 100644 --- a/playbooks/reset.yml +++ b/playbooks/reset.yml @@ -25,10 +25,13 @@ run_once: True when: - not (skip_confirmation | default(false) | bool) + - reset_confirmation is not defined - name: Check confirmation fail: msg: "Reset confirmation failed" - when: reset_confirmation != "yes" + when: + - not reset_confirmation | default(false) | bool + - not reset_confirmation_prompt.user_input | default("") == "yes" - name: Gather information about installed services service_facts: