hub_namespaces
In this file we prepare the new namespace to load custom collections into.
group_vars/all/hub_namespaces.yml
We create a new namespace to hold the custom collections for our enterprise, you have a choice here to create more if you want.
---
hub_namespaces_all:
- name: wf_linux
company: WF linux
email: wilco.folkers@homelab
avatar_url: https://static.redhat.com/libs/redhat/brand-assets/latest/corp/logo.svg
description: Namespace for my collections
resources: "# WF linux\nA Namespace for testing collections"
...
But you can already see that the variable name used here has the "_all" extension, so the variable will not be overridden as this is not quite a inventory.
Why we do this, will become clear in a moment.
group_vars/dev/hub_namespaces.yml
As we do not configure extra namespaces for the dev environment, this file is an empty set.
---
hub_namespaces_dev: []
# No extra config exists
...
Here the variable has the "_dev" extension, so the variable will not be overridden.
group_vars/prod/hub_namespaces.yml
As we do not configure extra namespaces for the prod environment, this file is an empty set.
---
hub_namespaces_prod: []
# No extra config exists
...
Here the variable has the "_prod" extension, so the variable will not be overridden.