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?) -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/377cc76d-803c-4115-ab97-f7cb6476942cn%40googlegroups.com.
