MacOS Mojave 10.14.2 as os and, yes, I’m running a new trellis installation (Vagrant).
I’m running this command sudo ansible-playbook server.yml -e env=environment --tags wordpress cause I discovered it in the Troubleshooting Let’s Encrypt section here
I was getting something similar… except it was complaining “Incorrect sudo password” which I thought was a bit weird since lsb_release doesn’t need sudo…
Fixed by adding become: false to role, but not sure thats actually the fix as it seems to keep putting in a bad sudo elsewhere…
one thing I have noticed… ansible’s errors are sometimes waay off track…
in my case it was because the host name was incorrect in my inventory… So you might want to check all your hosts and vars for typos first