red-hat-storage / openshift-cic

CNS Inventory file Creator (CIC) , also works for OCS
GNU General Public License v3.0
31 stars 7 forks source link

Add variable group[OSEv3:vars] below hosts group [OSEv3:children] #23

Closed netzzer closed 6 years ago

netzzer commented 6 years ago

Need to add [OSEv3:children] to all inventory file results as shown below.

For less than six hosts:

[OSEv3:children]
glusterfs

[OSEv3:vars]
# registry
openshift_hosted_registry_storage_kind=glusterfs
...

OR for over six hosts:

[OSEv3:children]
glusterfs
glusterfs_registry

[OSEv3:vars]
# registry
openshift_hosted_registry_storage_kind=glusterfs
...
netzzer commented 6 years ago

This is done for POC code (PR #24)