I’ve been working on an Ansible role to facilitate managing OpenShift projects, secrets, etc for applications under the notion that projects correlate to inventory hosts similar to what k8s and openshift inventories generate. I can model inventories of projects across multiple clusters and facilitate customizing each to a fair extent, however I’ve come up short when asked about why this approach versus some homegrown data structure and loading var files.
I’d appreciate anyone who’s used these inventories can share how this approach offers objective benefits.