# Reading multiple lines of input using "ansible.builtin.pause" or "vars\_prompt" (or another plugin)?

**URL:** <https://forum.ansible.com/t/reading-multiple-lines-of-input-using-ansible-builtin-pause-or-vars-prompt-or-another-plugin/37555>\
**Category:** Ansible Project\
**Created:** [January 17, 2023, 5:36pm UTC](https://forum.ansible.com/t/reading-multiple-lines-of-input-using-ansible-builtin-pause-or-vars-prompt-or-another-plugin/37555 "2023-01-17T17:36:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Wade\_C](https://avatars.discourse-cdn.com/v4/letter/w/db5fbb/32.png) [@Wade\_C](https://forum.ansible.com/u/Wade_C)\
**Post date:** [January 17, 2023, 5:36pm UTC](https://forum.ansible.com/t/reading-multiple-lines-of-input-using-ansible-builtin-pause-or-vars-prompt-or-another-plugin/37555/1 "2023-01-17T17:36:37Z")

</div>

Has anyone come across a way to do this? Something like:

— - name: Playbook to prompt for a multi-line string hosts: localhost gather\_facts: false tasks: - ansible.builtin.pause: prompt: Enter value multiline: yes # note that this does not exist 🙂 register: result - name: Use the multi-line string debug: var: result

Where I would then enter multiple lines of text with some clever termination scheme (Ctrl-D, enter “dot” enter, enter enter, something else?)

​

---

_[View the full topic](https://forum.ansible.com/t/reading-multiple-lines-of-input-using-ansible-builtin-pause-or-vars-prompt-or-another-plugin/37555)._
