This takes the "divide and conquor" approach by breaking up the data and
behavior into smaller pieces. Specifically, this introduces a job object to
represent an individual run of ansible-runner, and an InputDir object to
represent and create ansible-runner's input directory on disk.
There is more to do, such as add the event API and make role support actually work, but this restructure hopefully moves things in the right direction.
This takes the "divide and conquor" approach by breaking up the data and behavior into smaller pieces. Specifically, this introduces a
job
object to represent an individual run of ansible-runner, and anInputDir
object to represent and create ansible-runner's input directory on disk.There is more to do, such as add the event API and make role support actually work, but this restructure hopefully moves things in the right direction.