This is a PR against already reviewed changes in #1012 to consolidate ansible configurations, and use vars to switch which tasks are called, and avoid de-duplication of config code for different AMI outcomes.
Goals of this Sub-PR:
Dedupe ansible ami building code
All existing PR-triggered tests passing including testinfra tests for both versions, osquery permission checks, etc
What kind of change does this PR introduce?
This is a PR against already reviewed changes in #1012 to consolidate ansible configurations, and use vars to switch which tasks are called, and avoid de-duplication of config code for different AMI outcomes.
Goals of this Sub-PR: