Pigsty CMDB
Instead of a static config file, you can use as an inventory for Pigsty.
Using CMDB as a dynamic Inventory for Ansible has several advantages: metadata is presented as data tables in a highly structured way, and database constraints ensure consistency. The CMDB also allows you to use third-party tools to manage Pigsty metadata.
The Pigsty CMDBmode is automatically created during the initialization of the pg-meta
meta DB (files/cmdb.sql) and is located in the database’s pigsty
mode of the meta DB. Static config files can be loaded into the CMDB using .
Once the original config file is loaded into the CMDB as the initial data, Ansible can be configured to use the CMDB as the inventory.
You can switch back to a static config file.
Last modified 2022-06-04: fill en docs (5a858d3)