1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
- 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