After pkg upgrade sudo to version 1.9.8 the regression was introduced and Ansible (and some othr usages) ar no longer able to work with sudo.
The error message is:
module_stdout: sudo: (null): option passprompt_override does not take a value
sudo: error initializing audit plugin sudoers_audit
It is reported on other platforms too:
The fixing patch is here:
Can this fix be applied to FreeBSD port and backported to quarterly too? Current quarterly sudo + ansible is broken.
That bug appears to have been fixed in HEAD but not in the 2021Q3 branch that we use in production. Even with today being the last day of Q3, this problem is big enough that it warrants a last day update in the quarterly branch, IMO.
(In reply to wolfgang from comment #1)
1.9.8p1 is now merged into 2021Q3 branch. Please let me know if it fixes the problem.
(In reply to Renato Botelho from comment #2)
Cannot say if p1 fixed it, it was too urgent to wait that we already build 1.9.8p2 in our poudriere and installed it on all machines. sudo-1.9.8p2 fixed it.
I can confirm that 1.9.8p1 fixes the problem for me.