I am trying to use ansible.builtin.expect to automate an installer. At the beginning of the install, I have to "read" thru the license agreement by hitting the space bar 7 or 8 times. I do not know how to either specify text to expect, since it is a long license agreement, or how to automate a "space" character. Can someone please assist?
To sum up. I have something like:
- name: install program
expect:
command: '/<path>/install.sh
responses:
(What to put here?>
I think a "space bar" press will be needed 7 or 8 times till it gets to the point where it says "Do you accept the License Terms and Conditions stated above? (Accept/Decline) [D] : "
Thank you, MY