5a1b59adf9
* Rename `tests` test to match plugin type. * Rename `test_infra` test to avoid confusion. This test target is not a test for test plugins. * Rename `vars_prompt` test to avoid confusion. * Update sanity ignores.
20 lines
327 B
YAML
20 lines
327 B
YAML
- name: Test vars_prompt custom variables in prompt
|
|
hosts: testhost
|
|
become: no
|
|
gather_facts: no
|
|
|
|
vars:
|
|
prompt_var: prompt from variable
|
|
|
|
vars_prompt:
|
|
- name: input
|
|
prompt: "{{ prompt_var }}"
|
|
|
|
tasks:
|
|
- name:
|
|
assert:
|
|
that:
|
|
- input == 'input'
|
|
|
|
- debug:
|
|
var: input
|