The current working directory (cwd or pwd) where ansible was executed from
has been deleted in the middle of the execution. Regardless of whether the
script you are running is responsible for it, doesn't matter.
The problem is somewhere during the execution, something is deleting the
current
When running a task which runs a script in Ansible 2.9.27 it occasionally
crashes during the execution. This issue is intermittent.
A GitHub issue has been created for this bug: (1) Ansible occasionally
crashes during task execution · Issue #76321 · ansible/ansible (github.com)