I am using version 2.9.10 of Ansible. The target machine is HP-UX. When using script commands to execute shell modules asynchronously, the task timeout is displayed. I found that the target machine did not actually execute my script, and my command was similar to “sh xxxx. sh>ansible. log”, without generating ansible. log. In the. ansible.async folder, you can see both the files xxxx.xx and xxxx.xx.tmp. The content of the xxxx.xx file is: “{started: 1, finished: 0, xxxx}”, and the content of the file ending in. tmp is empty. Have you ever encountered this problem? This target machine doesn’t have this problem every time, it occasionally occurs.
Where is your Task?
Write understandable question.