ansible/test/integration/targets/builtin_vars_prompt/unsafe.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
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