Thanks for the input @hartmel, and all your stuff here:
That has at least pointed me in the right direction. I’ll try all your suggestions again, maybe on a clean install/env.
I can’t wrap my head around why though, RemoteExecution via SSH just works. And since the ansible-plugin is so dependent on that I would expect that to work as well.
Just to clarify, what I want to work is, TFM connects to target host as user “x”, jrichard in this case, and sudo’s some commands. Or in Ansible speak, connect as user jrichard and “become”, via sudo, root and run an ansible adhoc command.
I have not tried an actual playbook or role. Maybe I should.