terraform-inventory icon indicating copy to clipboard operation
terraform-inventory copied to clipboard

Add support for top level role groupings

Open astubbs opened this issue 6 years ago • 1 comments
trafficstars

I have to work with ansible play books that already have roles defined, e.g. "kafka" - it expects inventory with a group of hosts under the "kafka" label.

The closest i can get is "role_kafka" by adding a tag role = kafka.

Perhaps a special reserved key name for the tag of "role" could be treated differently?

astubbs avatar Jul 17 '19 11:07 astubbs

Added a POC for this in #118 . Works for me so far.

astubbs avatar Jul 17 '19 11:07 astubbs