I'm looking for an alternative to ansible and fabric 2, some kind of middleground, and pyinfra looks like something I want to give a try to.
Is there any way to attach the deployement scenario in a Python object ?
All the examples I see are global functions called at a root of a module.
How do I make a scenario pluggable? Reusable? Introspectable?