ca9ea097df
Migrate older inline= syntax to pure yml syntax for module args as to be consistant with most of the rest of the tasks Cleanup some spacing in various files Rename some files named yaml to yml for consistancy
17 lines
375 B
YAML
17 lines
375 B
YAML
---
|
|
|
|
- hosts: all
|
|
vars_prompt:
|
|
name: "reset_confirmation"
|
|
prompt: "Are you sure you want to reset cluster state? Type 'yes' to reset your cluster."
|
|
default: "no"
|
|
private: no
|
|
|
|
pre_tasks:
|
|
- name: check confirmation
|
|
fail:
|
|
msg: "Reset confirmation failed"
|
|
when: reset_confirmation != "yes"
|
|
|
|
roles:
|
|
- { role: reset, tags: reset }
|