Subject: [ansible-project] Ansible - Responding to prompts


On 10.08.2019 03:55, Michael wrote:

Fist of (.*) is useless with expect, so just remove it.
The dot means any character and the * means 0 or more, so this will
always be true.

For (>*) (zero or more greater than) you don't need that one either.
Reason is that expect will trigger on the string without > anyway.

Zero and more quantifier doesn't add anything at the start or the end of
a string other that more CPU usage.

Is these two changes going to affect speed in any way I don't know,
you'll have to try and see.

--
Kai Stian Olstad

--