Task timeout not triggered

Hello,

We had a situation where our OS update playbook hung on the task below:

  • name: Call Oracle relink script
    ansible.builtin.shell: “{{ relink_oracle_binaries }}”
    args:
    warn: false
    register: relink_output

{{relink_oracle_binaries}}, which has been working just fine for many months, was hit by a bug and that caused it to hang waiting on the “read” below:


*) echo $N “ORACLE_HOME = [$ORAHOME] ? $C”
read NEWHOME

So, the script sat there waiting for the read to be fulfilled and that also caused the whole playbook to also sit there for hours waiting for the task to finish (eventually, I had to kill the playbook job).
No timeout was triggered despite “timeout = 45” being set in ansible.cfg.

Would anybody know why that task was not timed out by Ansible? (Apologies if this is very basic.)

Regards,

Alex