I just switched all my FreeBSD hosts and jails from sudo to doas, and now all ansible async tasks fail if the value of "poll" isn't set to 0.

Uninstalling sudo and setting doas as "ansible_become_method" is literally all I've changed right now, so the error message "could not find job" doesn't make any sense to me.

Do you think this is a bug?

Screenshot of many ansible error messages on my command line saying "could not find job" after switching from sudo to doas as a privilege escalation for ansible (become_method).
0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/subnetspider/statuses/114370948385891077 on your instance and quote it. (Note that quoting is not supported in Mastodon.)