Olaf, I can't show you a concrete example, but can tell you what you should do.

For example, if you want to combine ansible control host with seed you should add a host into the [seed] group the same way as described ansible control host:

[seed]
seed1234 ansible_connection=local

The seed1234 is a seed host where now you should run ansible.

For example, if you want to combine seed-hypervisor with seed you should add seed host to the [seed-hypervisor] group or create [seed-hypervisor:children] group with seed group/host inside.

[seed-hypervisor]
seed1234

Before doing changes you need to read:
1. https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html
2. https://github.com/openstack/kayobe/blob/master/etc/kayobe/inventory/groups
3. https://github.com/openstack/kayobe/blob/master/etc/kayobe/inventory/hosts.example



On Thu, Nov 28, 2024 at 8:00 PM Olaf Trygve Berglihn <olaf.berglihn@sigma2.no> wrote:
Thanks, Maxim. I think I understand the concepts, but I’m lacking a concrete workable example.

-Olaf


--
Regards,
Maksim Malchuk