Suggestion: Build upon Chopsticks
In July I started writing a library, based on frustrations with Ansible. However, I deliberately avoided tackling the problem of writing a whole configuration management system - I just tackled agentless remote execution over SSH - with the hope that someone would build something cool on top of it that would help take away the pain of Ansible.
The result is Chopsticks (docs), which I humbly suggest as a replacement for Ansible's connection strategies.
It should be faster than Ansible, stateful on the remote side if you wish, and much easier to program for.
@lordmauve Thanks for the suggestion. The Chopsticks project actually looks very good. We've discussed on today meeting the approach we are going to use for the "connection" functionality. It will be something kinda different. I suggest you to follow this issue https://github.com/stonicio/stonic/issues/3 for updates on this. There is definitely going to be a Paper for this.