From 4243003c94ac45ae5266821e02af9f609d24da20 Mon Sep 17 00:00:00 2001 From: Mikhail Vintcukevich <47250461+Mishavint@users.noreply.github.com> Date: Mon, 24 Jul 2023 09:58:14 +0300 Subject: [PATCH] fix: define variable for reset confirmation (#10303) --- playbooks/reset.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/reset.yml b/playbooks/reset.yml index 3f233e0c2..ded4c0ada 100644 --- a/playbooks/reset.yml +++ b/playbooks/reset.yml @@ -21,11 +21,12 @@ - name: Reset Confirmation pause: prompt: "Are you sure you want to reset cluster state? Type 'yes' to reset your cluster." - register: reset_confirmation + register: reset_confirmation_prompt run_once: True when: - not (skip_confirmation | default(false) | bool) - reset_confirmation is not defined + - name: Check confirmation fail: msg: "Reset confirmation failed"