ansible/test/integration/targets/builtin_vars_prompt/vars_prompt-6.yml
Matt Clay 5a1b59adf9 Rename tests (#68356)
* 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.
2020-03-23 11:14:21 -05:00

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