4ac0c23db6
* added unsafe toggle to vars_prompt fixes #47534
20 lines
339 B
YAML
20 lines
339 B
YAML
- name: Test vars_prompt unsafe
|
|
hosts: testhost
|
|
become: no
|
|
gather_facts: no
|
|
vars:
|
|
whole: INVALID
|
|
vars_prompt:
|
|
- name: input
|
|
prompt: prompting for variable
|
|
unsafe: true
|
|
|
|
tasks:
|
|
- name:
|
|
assert:
|
|
that:
|
|
- input != whole
|
|
- input != 'INVALID'
|
|
|
|
- debug:
|
|
var: input
|