expect module does not answer questions on remote and it hangs

Hi all,
i am facing the issues with expect module though the timeout: 600 is mentioned, i always get “msg”: “command exceeded timeout” or it hangs , i have around 25 reponses to answer after the command has been executed.

  • name: install file
    expect:
    command: /tmp/install.run
    responses:
    ‘path? [/tmp/output]:’: ‘/tmp/output/new’
    ‘Run after installation? [yes]:’: ‘yes’

Hi
Please do not ask exactly the same question is multiple messages

Hi sorry , i commented on the past post (2017) last time and hence i assumed thats was invalid.

Hi all,

when I tried to debug Output I checked it runs up to a certain point and then I get “installation aborted by user” though I didnot abort. I appreciate your help