mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
17 lines
266 B
YAML
17 lines
266 B
YAML
|
- name: Test vars_prompt custom prompt
|
||
|
hosts: testhost
|
||
|
become: no
|
||
|
gather_facts: no
|
||
|
|
||
|
vars_prompt:
|
||
|
- name: input
|
||
|
prompt: "Enter some input"
|
||
|
|
||
|
tasks:
|
||
|
- assert:
|
||
|
that:
|
||
|
- input == 'some more input'
|
||
|
|
||
|
- debug:
|
||
|
var: input
|