What was reported:
Issue ansible/ansible#85879 (closed, 18 comments): ### Summary A very simple playbook that only outputs "Hello world!" crashes at some point when I run it frequently enough in sequence. I can only observe this problem on a specific RHEL 9.6 host; it never occurs with the identical Python installation on my Ubuntu 24.04. I use my own miniforge installation for Python in /opt/python3 which is portable. The "serial" parameter of the playbook plays a role in the probability of the error occurring. It is most likely to occur when serial = 1, and practically never occurs when serial >= number of hosts to be played. It only occurred after updating to
What works:
The crash in strategy/__init__.py around signal handling during os.killpg was fixed by PR #85907, which was merged with backports opened. Upgrade ansible-core past the release containing that fix.