Skip to content
Snippets Groups Projects
Unverified Commit 4243003c authored by Mikhail Vintcukevich's avatar Mikhail Vintcukevich Committed by GitHub
Browse files

fix: define variable for reset confirmation (#10303)

parent 050bd052
No related branches found
No related tags found
No related merge requests found
...@@ -21,11 +21,12 @@ ...@@ -21,11 +21,12 @@
- name: Reset Confirmation - name: Reset Confirmation
pause: pause:
prompt: "Are you sure you want to reset cluster state? Type 'yes' to reset your cluster." 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 run_once: True
when: when:
- not (skip_confirmation | default(false) | bool) - not (skip_confirmation | default(false) | bool)
- reset_confirmation is not defined - reset_confirmation is not defined
- name: Check confirmation - name: Check confirmation
fail: fail:
msg: "Reset confirmation failed" msg: "Reset confirmation failed"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment