It seems that ansible-cmdb does not recognize my constructed inventory file as a dynamic inventory.
I followed the example from the ansible website: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/constructed_inventory.html
But when ansible-cmdb runs, it seems to think that the file inventory.config is a static inventory file and does not parse it correctly.
[user@ws ansible]$ ansible -i inventories/hosts.yml -i inventories/inventory.config -m setup --tree tempo/ all
...
[user@ws ansible]$ ansible-cmdb -d -i inventories/hosts.yml -i inventories/inventory.config tempo/ > overview.html
...
Determining type of inventory_path inventories/inventory.config
inventories/inventory.config is a file. Handle as static inventory file
Inventory path inventories/inventory.config is a file. Reading as inventory.
Unsupported vars syntax. Skipping line: plugin: constructed
Unsupported vars syntax. Skipping line: strict: yes
Are constructed inventories not supported or have I made a mistake?
Thanks
It seems that ansible-cmdb does not recognize my constructed inventory file as a dynamic inventory.
I followed the example from the ansible website: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/constructed_inventory.html
But when ansible-cmdb runs, it seems to think that the file inventory.config is a static inventory file and does not parse it correctly.
Are constructed inventories not supported or have I made a mistake?
Thanks